ZhangXianQiang
2024-05-17 97d1d36d67c0cc29bd21c2575dd8a61a757adaa5
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)