From 0990f596791ebc4518e293a2d60407ff1165b53c Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 21 六月 2024 18:09:31 +0800 Subject: [PATCH] 菜单更新 --- src/store/index.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index efaf6c9..9ceca5a 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -1,7 +1,9 @@ import type { App } from 'vue'; import { createPinia } from 'pinia'; +import { registerPiniaPersistPlugin } from '@/store/plugin/persist'; const store = createPinia(); +registerPiniaPersistPlugin(store); export function setupStore(app: App<Element>) { app.use(store); -- Gitblit v1.9.3