From 881dc3fcf09ad6cc6347b4b09f1172b353645d49 Mon Sep 17 00:00:00 2001
From: 谢凯 <viago@qq.com>
Date: 星期一, 22 三月 2021 17:52:34 +0800
Subject: [PATCH] update ruoyi-ui/src/views/system/user/profile/userAvatar.vue.

---
 ruoyi-ui/src/views/system/user/profile/userAvatar.vue |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
index aca1990..4547d3d 100644
--- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -82,6 +82,14 @@
       previews: {}
     };
   },
+    created() {
+    // 显隐列组件默认隐藏列
+    for (let item in this.columns) {
+      if (this.columns[item].visible === false) {
+        this.value.push(parseInt(item))
+      }
+    }
+  },
   methods: {
     // 编辑头像
     editCropper() {

--
Gitblit v1.9.2