فهرست منبع

用户新增/修改

luojun 2 سال پیش
والد
کامیت
ea63128134
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/system/user/index.vue

+ 1 - 1
src/views/system/user/index.vue

@@ -670,7 +670,7 @@ export default {
     submitForm: function() {
       this.$refs["form"].validate(valid => {
         if (valid) {
-          if (this.form.userId != undefined) {
+          if (this.form.id != undefined) {
             updateUser(this.form).then(response => {
               this.$modal.msgSuccess("修改成功");
               this.open = false;