xingyu4j hace 2 años
padre
commit
a4a524ba38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      yudao-ui-admin-vue3/src/router/index.ts

+ 1 - 1
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()