src/views/user/student/edit.vue
@@ -122,11 +122,10 @@ submitForm () { console.log("this.form", this.form) let _this = this this.form.deptIds = this.form.deptIds.join(',') this.$refs.form.validate((valid) => { if (valid) { this.formLoading = true console.log("this.form", this.form) this.form.deptIds = this.form.deptIds.join(',') userApi.createUser(this.form).then(data => { if (data.code === 1) { _this.$message.success(data.message)