Browse Source

Update user.vue

新增用户本地存储路径不正确
main
supine-win 3 years ago
committed by GitHub
parent
commit
3c7b838a43
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/src/view/superAdmin/user/user.vue

2
web/src/view/superAdmin/user/user.vue

@ -66,7 +66,7 @@
</el-form-item>
<el-form-item label="头像" label-width="80px">
<div style="display:inline-block" @click="openHeaderChange">
<img v-if="userInfo.headerImg" class="header-img-box" :src="userInfo.headerImg">
<img v-if="userInfo.headerImg" class="header-img-box" :src="(userInfo.headerImg && userInfo.headerImg.slice(0, 4) !== 'http')?path+userInfo.headerImg:userInfo.headerImg">
<div v-else class="header-img-box">从媒体库选择</div>
</div>
</el-form-item>

Loading…
Cancel
Save