Sfoglia il codice sorgente

!192 update ruoyi-ui/src/views/system/user/profile/userAvatar.vue.
Merge pull request !192 from 谢凯/N/A

若依 4 anni fa
parent
commit
505fa06dc3
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      ruoyi-ui/src/views/system/user/profile/userAvatar.vue

+ 8 - 0
ruoyi-ui/src/views/system/user/profile/userAvatar.vue

@@ -81,6 +81,14 @@ export default {
       },
       },
       previews: {}
       previews: {}
     };
     };
+  },
+    created() {
+    // 显隐列组件默认隐藏列
+    for (let item in this.columns) {
+      if (this.columns[item].visible === false) {
+        this.value.push(parseInt(item))
+      }
+    }
   },
   },
   methods: {
   methods: {
     // 编辑头像
     // 编辑头像