fix: 修复提交冲突引发的问题

This commit is contained in:
Ray.Hao
2026-03-24 08:18:40 +08:00
parent 4eea3ed6cb
commit dd52225378
25 changed files with 573 additions and 1199 deletions

View File

@@ -8,7 +8,7 @@ import { AuthStorage } from "@/utils/auth";
import { usePermissionStoreHook } from "@/store/modules/permission";
import { useDictStoreHook } from "@/store/modules/dict";
import { useTagsViewStore } from "@/store";
import { cleanupWebSocket } from "@/composables";
import { cleanupSseServices } from "@/composables";
export const useUserStore = defineStore("user", () => {
// 用户信息
@@ -76,8 +76,8 @@ export const useUserStore = defineStore("user", () => {
useDictStoreHook().clearDictCache();
useTagsViewStore().delAllViews();
// 3. 清理 WebSocket 连接
cleanupWebSocket();
// 3. 清理 SSE 连接
cleanupSseServices();
}
/**