处理未登录情况
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class='content'>
|
||||
<view class='top-card-view'>
|
||||
<image class='bg-image' :src='assetsUrl("test_bg.png")' />
|
||||
<image class='avatar-image' :src='userInfo.image' />
|
||||
<image class='avatar-image' :src='params.avatarUrl' />
|
||||
<text>{{ userInfo.name }}</text>
|
||||
<text>{{ userInfo.levelName }}</text>
|
||||
</view>
|
||||
@@ -80,7 +80,7 @@ const params = ref<{
|
||||
});
|
||||
|
||||
onLoad(() => {
|
||||
store.getProfile();
|
||||
// store.getProfile();
|
||||
});
|
||||
|
||||
const chooseAvatar = (e: any) => {
|
||||
|
Reference in New Issue
Block a user