ruoyi-ui/src/views/system/dept/index.vue
@@ -311,13 +311,13 @@ this.$refs["form"].validate(valid => { if (valid) { if (this.form.deptId != undefined) { updateDept(this.form).then(response => { updateDept(this.form).then(() => { this.$modal.msgSuccess("修改成功") this.open = false this.getList() }) } else { addDept(this.form).then(response => { addDept(this.form).then(() => { this.$modal.msgSuccess("新增成功") this.open = false this.getList()