mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 处理切换语言,UI框架不会变的问题
This commit is contained in:
+3
-3
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user