fix: 修复退出登录后再次登录,首页未刷新问题;修复空页面插图文本颜色不正确问题;

This commit is contained in:
gcd 2025-04-21 22:30:22 +08:00
parent de27ffffe4
commit 769c75adcb
2 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ const props = defineProps({
width: 400rpx;
height: 72rpx;
font-size: 28rpx;
color: var(--contentColor30);
color: var(--descriptionColor);
line-height: 72rpx;
text-align: center;
}
}
</style>
</style>

View File

@ -66,7 +66,7 @@ const logout = () => {
uni.removeStorageSync('token')
uni.removeStorageSync('user_info')
helpers.jumpToPage('login', '', 'redirectTo')
helpers.jumpToPage('login', '', 'reLaunch')
}).catch(() => {}).finally(() => {
uni.hideLoading();
})