chenkainan 7 months ago
parent
commit
6b45bff2f3
  1. 4
      pages/user/user.vue
  2. 4
      subPackages/user/profile.vue

4
pages/user/user.vue

@ -361,8 +361,8 @@
}
.headImg {
width: 60rpx;
height: 60rpx;
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}

4
subPackages/user/profile.vue

@ -8,7 +8,7 @@
style="width: 80rpx;height: 80rpx;border-radius: 50%;"></image>
</view>
</div>
<navigator :url="'/subPackages/user/changeNickname?nicknane='+nickname" tag="view" class="userinfo-item">
<navigator :url="'/subPackages/user/changeNickname?nickname='+nickname" tag="view" class="userinfo-item">
<span>姓名</span>
<view>{{nickname}}</view>
</navigator>
@ -210,7 +210,7 @@
birthday: this.birthday
}, '/api/user/profile').then(res => {
console.log(res)
if (res.code == 1) {
if (res.code == 1 || res.code == 200) {
uni.showModal({
title: '提示',
content: res.msg,

Loading…
Cancel
Save