fix: 修复兑换中心偶尔无法打开问题

This commit is contained in:
Gsh
2025-12-24 23:36:37 +08:00
parent 96a21210b5
commit 639c683144
3 changed files with 30 additions and 18 deletions

View File

@@ -52,8 +52,8 @@ export const useUserStore = defineStore(
// 新增:打开用户中心方法
const openUserCenter = (tab: string = 'user') => {
userCenterActiveTab.value = tab;
isUserCenterVisible.value = true;
userCenterActiveTab.value = tab;
};
// 新增:关闭用户中心方法