refactor: ky

This commit is contained in:
skytek_xinliang
2026-05-07 11:17:30 +08:00
parent 87fbc1dda8
commit 71683482e1
15 changed files with 146 additions and 360 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// 全域 Session 事件(Playground 專用)
//
// 目的:
// - 避免 axios interceptor 直接 import Pinia store / router 造成循環依賴
// - 避免 HTTP hooks 直接 import Pinia store / router 造成循環依賴
// - 由 App.vue 在 UI 層統一處理登出流程(清狀態、導頁、提示訊息)
export const SESSION_FORCE_LOGOUT_EVENT = 'sk-playground:session-force-logout'