RuoYi
2026-01-28 7d821ed04389ef4141731c06ae4a470dec0136e9
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()