fix: 修复退出登录后再次登录,首页未刷新问题;修复空页面插图文本颜色不正确问题;
This commit is contained in:
parent
de27ffffe4
commit
769c75adcb
|
|
@ -32,9 +32,9 @@ const props = defineProps({
|
||||||
width: 400rpx;
|
width: 400rpx;
|
||||||
height: 72rpx;
|
height: 72rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: var(--contentColor30);
|
color: var(--descriptionColor);
|
||||||
line-height: 72rpx;
|
line-height: 72rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ const logout = () => {
|
||||||
uni.removeStorageSync('token')
|
uni.removeStorageSync('token')
|
||||||
uni.removeStorageSync('user_info')
|
uni.removeStorageSync('user_info')
|
||||||
|
|
||||||
helpers.jumpToPage('login', '', 'redirectTo')
|
helpers.jumpToPage('login', '', 'reLaunch')
|
||||||
}).catch(() => {}).finally(() => {
|
}).catch(() => {}).finally(() => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user