From 7ca9663cb158d0f17c363c78b706fed5be1ee4cf Mon Sep 17 00:00:00 2001 From: XiaoDaiGua-Ray <443547225@qq.com> Date: Mon, 27 May 2024 17:45:28 +0800 Subject: [PATCH] version: v4.8.6 --- package.json | 3 --- src/store/modules/menu/index.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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'], }, }, )