From e5e7d8032f938f4142c05fa71fb09ff73058b740 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 24 七月 2024 16:22:19 +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