From 9dfa701454d6a94690bad39dbb0e38f2a0b31489 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 18:08:47 +0800 Subject: [PATCH] build --- 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