From ceb69f9f45a5b404453908a4261208c8bbfb62e7 Mon Sep 17 00:00:00 2001 From: zhang zhuo Date: Mon, 1 Dec 2025 11:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index f9353e7..f277e36 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -1,11 +1,7 @@ -import { createPinia } from "pinia" +import { createPinia, PiniaVuePlugin } from "pinia" import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' const pinia = createPinia() pinia.use(piniaPluginPersistedstate) -// 控制台日志关闭 -;(pinia as any)._p = (pinia as any)._p.filter( - (p: any) => p.name !== "pinia:devtools" -) export default pinia