From b8ecd09a22db244cf0817c882535dd0ee80aa2e9 Mon Sep 17 00:00:00 2001 From: 05412 <2738076308@qq.com> Date: Tue, 30 Jul 2024 10:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E7=94=A8pinia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index ef14256..6eeb368 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,7 @@ import 'vuetify/styles' import {router} from "./router.ts"; import App from "./App.vue"; import {createVuetify} from "vuetify"; -import {createPinia} from "pinia"; +import {createPinia, Pinia} from "pinia"; const vuetify = createVuetify({ icons: { @@ -16,7 +16,7 @@ const vuetify = createVuetify({ } } }) -const pinia = createPinia() +const pinia: Pinia = createPinia() createApp(App) .use(router) .use(vuetify)