From 7d26ed0e19bf952e7c037b21bfd687759b46e851 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 25 六月 2024 19:21:33 +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