修改用户头像预览宽高

master
RuoYi 4 years ago
parent 563e11d9c1
commit 7e78a9167f
  1. 4
      ruoyi-ui/src/assets/styles/ruoyi.scss
  2. 2
      ruoyi-ui/src/views/system/user/profile/userAvatar.vue

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

@ -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>

Loading…
Cancel
Save