fix: 处理切换语言,UI框架不会变的问题

This commit is contained in:
奔跑的面条
2022-11-05 15:23:01 +08:00
parent dfc69e19c5
commit 0e04549026
6 changed files with 52 additions and 12 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
import type { App } from 'vue';
import { createPinia } from 'pinia';
const store = createPinia();
const pinia = createPinia();
export function setupStore(app: App<Element>) {
app.use(store);
app.use(pinia);
}
export { store };
export { pinia };