diff --git a/yudao-ui-admin-vue3/src/router/index.ts b/yudao-ui-admin-vue3/src/router/index.ts index c207e4da3..41872fffc 100644 --- a/yudao-ui-admin-vue3/src/router/index.ts +++ b/yudao-ui-admin-vue3/src/router/index.ts @@ -14,7 +14,7 @@ import { isRelogin } from '@/config/axios/service' import { getInfoApi } from '@/api/login' import { useCache } from '@/hooks/web/useCache' -const { wsCache } = useCache() +const { wsCache } = useCache('sessionStorage') const { start, done } = useNProgress()