Browse Source

fix:登录也无法点击分享

lihuilin/feature-20251024095243-我的
lihui 3 weeks ago
parent
commit
ffb3c13093
  1. 18
      pages/home/member.vue

18
pages/home/member.vue

@ -173,11 +173,19 @@
})
}
const goToShare = () => {
uni.navigateTo({
url: '../setting/share'
})
}
const goToShare = () => {
console.log('用户信息==========',userStore.userInfo.isVisitor)
if (userStore.userInfo.isVisitor) {
uni.showToast({
title: '请先登录',
icon: 'none'
})
return
}
uni.navigateTo({
url: '../setting/share'
})
}
onMounted(() => {
//

Loading…
Cancel
Save