绿满眶商城微信小程序-uniapp
pages/userPermissions/addStoreMember.vue
@@ -295,12 +295,11 @@
                     id: this.form.id,
                     mobile: this.form.mobile,
                     realName: this.form.realName,
                     password: this.form.password,
                     password: this.md5(this.form.password),
                     role: this.form.role,
                     isSuper:this.form.isSuper,
                     departmentId:this.form.departmentId,
                  }
                  if (form.id) {
                     update(form).then(res => {
                        this.loading = false;
@@ -314,7 +313,7 @@
                           setTimeout(() => uni.navigateBack(), 1500);
                        }
                     })
                  } else {
                  } else {0
                     add(form).then(res => {
                        this.loading = false;
                        if (res.statusCode === 200) {