汪钰 3 年 前
コミット
a54600a126
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/views/system/role/components/role-edit.vue

+ 2 - 1
src/views/system/role/components/role-edit.vue

@@ -119,8 +119,9 @@
       visible(visible) {
         if (visible) {
           if (this.data != null) {
-            this.$util.assignObject(this.form, this.data);
+            // this.$util.assignObject(this.form, this.data);
             // this.form = this.data;
+            this.form = Object.assign(this.data);
             this.isUpdate = true;
             console.log(1111111);
           } else {