refactor: ky
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user