xiangpei
2024-07-08 88dac9c2f9b83c627fa94d6b035b332a2f0e3d15
src/views/education/department/edit.vue
@@ -100,7 +100,7 @@
      // }
      _this.form.parentId = _this.form.parentId[0]
      if (_this.fig === 1) {
        departmentApi.addData(this.form.name).then(res => {
        departmentApi.addData(this.form).then(res => {
          console.log(res)
          if (res.code === 1) {
            _this.$message.success(res.message)