xiangpei
2024-07-12 827c151dac25d873c21929b5b0ded81e82937854
src/views/education/department/edit.vue
@@ -99,7 +99,9 @@
      // let obj = {
      //   name: this.form.name
      // }
      _this.form.parentId = _this.form.parentId[0]
      if (_this.form.parentId) {
        _this.form.parentId = _this.form.parentId[0];
      }
      if (_this.fig === 1) {
        departmentApi.addData(this.form).then(res => {
          console.log(res)