Prechádzať zdrojové kódy

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

若依 3 rokov pred
rodič
commit
505fa06dc3

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

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