Commit 7e78a9167f9920426e5b6377d011c464ff38d65b

Authored by RuoYi
1 parent 563e11d9

修改用户头像预览宽高

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;
... ...
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>
... ...