Browse Source

Merge branch 'milestone-20251031-简版功能开发' of http://39.101.133.168:8807/qimaohong/deepChartVueApp into wangyi/feature-20251026183100-deepmate王毅

milestone-20251031-简版功能开发
wangyi 2 weeks ago
parent
commit
2da9035fdf
  1. 13
      pages/home/member.vue

13
pages/home/member.vue

@ -29,7 +29,6 @@
<span style="font-size:10px;">签到</span>
</view> -->
</view>
<view class="settings-buttons">
<view class="setting-btn" @click="goToMarket">
<image src="/static/my/MarketSettings.png" class="setting-icon" />
@ -40,7 +39,6 @@
<text>通用设置</text>
</view>
</view>
<view class="share" @click="goToShare">
<image class="img-share" src="/static/my/share.png" mode="widthFix" />
</view>
@ -130,7 +128,14 @@
})
uni.showToast({
title: '昵称修改成功',
icon: 'none'
icon: 'none',
})
userInfoRes.value = getUserInfo()
userInfoRes.value.then(res => {
username.value = res.data.dcname
dccode.value = res.data.dccode
avatarUrl.value = res.data.avatar
console.log('用户信息', userInfoRes.value)
})
} catch (err) {
uni.showToast({
@ -175,7 +180,7 @@
const goToShare = () => {
console.log('用户信息==========', userStore.userInfo.isVisitor)
if (userStore.userInfo.isVisitor) {
if (userStore.userInfo.visitor) {
uni.showToast({
title: '请先登录',
icon: 'none'

Loading…
Cancel
Save