Browse Source

修改用户头像预览宽高

RuoYi 4 years ago
parent
commit
7e78a9167f

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

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

+ 1 - 1
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>