|
@@ -2,8 +2,8 @@ import { defineStore } from "pinia";
|
|
|
import { store } from "/@/store";
|
|
|
import { userType } from "./types";
|
|
|
import { router } from "/@/router";
|
|
|
+import { storageSession } from "/@/utils/storage";
|
|
|
import { getLogin, refreshToken } from "/@/api/user";
|
|
|
-import { storageLocal, storageSession } from "/@/utils/storage";
|
|
|
import { getToken, setToken, removeToken } from "/@/utils/auth";
|
|
|
import { useMultiTagsStoreHook } from "/@/store/modules/multiTags";
|
|
|
|
|
@@ -51,7 +51,6 @@ export const useUserStore = defineStore({
|
|
|
this.token = "";
|
|
|
this.name = "";
|
|
|
removeToken();
|
|
|
- storageLocal.clear();
|
|
|
storageSession.clear();
|
|
|
useMultiTagsStoreHook().handleTags("equal", [
|
|
|
{
|