MrShi
6 小时以前 bc5d79cdd957fcee510d7a1cee07f6775af65596
mini-program/pages/settings/settings.vue
@@ -2,7 +2,7 @@
   <view class="box">
      <view class="box-tx">
         <view class="box-tx-image">
            <image :src="form.imgFullUrl" mode="widthFix"></image>
            <image :src="form.imgFullUrl || '/static/icon/default.png'" mode="widthFix"></image>
         </view>
         <button open-type="chooseAvatar" @chooseavatar="getAvatar">更换头像</button>
      </view>
@@ -146,6 +146,7 @@
               .then(res => {
                  if (res.code === 200) {
                     this.$store.commit('clear')
                     uni.$emit('loginOut')
                     uni.switchTab({
                        url: '/pages/index/index'
                     })