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)