feat:更换oss
This commit is contained in:
@@ -202,7 +202,7 @@ export default {
|
||||
getUserInfo().then(res => {
|
||||
if (res.bizcode == 100) {
|
||||
this.userInfo = res.data;
|
||||
this.userInfo.avatarUrl = this.userInfo.avatarUrl ? this.userInfo.avatarUrl : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/default-avatar.png';
|
||||
this.userInfo.avatarUrl = this.userInfo.avatarUrl ? this.userInfo.avatarUrl : 'https://static.tbmall.xin/static/default-avatar.png';
|
||||
this.headList[0].value = this.userInfo.avatarUrl;
|
||||
this.userInfo.nickname = this.userInfo.nickname ? this.userInfo.nickname : '暂未设置';
|
||||
this.headList[1].value = this.userInfo.nickname;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<TopSafe></TopSafe>
|
||||
<Header :title="zhaoList[type]" />
|
||||
<view class="setting-view">
|
||||
<image :src="`https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/new/zi_${type + 1}.png`" mode="widthFix" ></image>
|
||||
<image :src="`https://static.tbmall.xin/static/new/zi_${type + 1}.png`" mode="widthFix" ></image>
|
||||
</view>
|
||||
<up-toast ref="uToastRef"></up-toast>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user