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 |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
index e1396c0..4547d3d 100644
--- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -27,7 +27,7 @@
         <el-col :lg="2" :md="2">
           <el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload">
             <el-button size="small">
-              涓婁紶
+              閫夋嫨
               <i class="el-icon-upload el-icon--right"></i>
             </el-button>
           </el-upload>
@@ -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.3