diff --git a/package.json b/package.json index 8d0b56aa..30b5510a 100755 --- a/package.json +++ b/package.json @@ -25,9 +25,6 @@ } }, "lint-staged": { - "./src/**/*.{ts,tsx,vue}": [ - "vue-tsc --noEmit" - ], "*.{ts,tsx,json}": [ "prettier --write" ], diff --git a/src/store/modules/menu/index.ts b/src/store/modules/menu/index.ts index f7648d6e..9752758b 100644 --- a/src/store/modules/menu/index.ts +++ b/src/store/modules/menu/index.ts @@ -448,7 +448,7 @@ export const piniaMenuStore = defineStore( persist: { key: APP_CATCH_KEY.appPiniaMenuStore, storage: window.sessionStorage, - paths: ['breadcrumbOptions', 'menuKey', 'menuTagOptions'], + paths: ['breadcrumbOptions', 'menuKey', 'menuTagOptions', 'collapsed'], }, }, )