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)