Просмотр исходного кода

修改用户头像预览宽高

RuoYi лет назад: 5
Родитель
Сommit
5094bba352

+ 2 - 2
ruoyi-ui/src/assets/styles/ruoyi.scss

@@ -220,8 +220,8 @@
220 220
 	position: absolute;
221 221
 	top: 50%;
222 222
 	transform: translate(50%, -50%);
223
-	width: 180px;
224
-	height: 180px;
223
+	width: 200px;
224
+	height: 200px;
225 225
 	border-radius: 50%;
226 226
 	box-shadow: 0 0 4px #ccc;
227 227
 	overflow: hidden;

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

@@ -27,7 +27,7 @@
27 27
         <el-col :lg="2" :md="2">
28 28
           <el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload">
29 29
             <el-button size="small">
30
-              上传
30
+              选择
31 31
               <i class="el-icon-upload el-icon--right"></i>
32 32
             </el-button>
33 33
           </el-upload>