refactor: 全局注册自定义指令方式优化
Former-commit-id: 40c40fa90d88d9efad4ef2fb73b00d650427fd05
This commit is contained in:
@@ -3,7 +3,7 @@ import { createPinia } from 'pinia';
|
||||
|
||||
const store = createPinia();
|
||||
|
||||
// 全局挂载store
|
||||
// 全局注册 store
|
||||
export function setupStore(app: App<Element>) {
|
||||
app.use(store);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user