龚焕茏
2024-07-11 0eee6264b01ce554a6082468a6a11d0b0da8e622
src/views/education/department/edit.vue
@@ -98,7 +98,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)