bug修复

This commit is contained in:
FengHui
2026-04-13 12:29:47 +08:00
parent 3d8e13c665
commit 321e686d68
5 changed files with 109 additions and 25 deletions

View File

@@ -89,7 +89,7 @@
<uni-popup ref="popup" type="dialog">
<uni-popup-dialog
mode="base"
title="确定退出登录吗?"
title="确定退出登录吗?--"
type="info"
:duration="2000"
:before-close="true"
@@ -144,10 +144,7 @@ function close() {
}
function confirm() {
// 调用退出登录
useUserStore().logOut();
// 关闭弹窗
popup.value.close();
useUserStore().logOut(false); // 不显示登录弹窗
// 跳转到首页
uni.reLaunch({
url: '/pages/index/index'