diff --git a/main.ts b/main.ts index 5cc0232..5d9d502 100644 --- a/main.ts +++ b/main.ts @@ -1,6 +1,7 @@ import { createApp } from 'vue' // @ts-ignore import App from './App.vue' +import store from './store' // 创建应用实例 const app = createApp(App) @@ -14,6 +15,7 @@ app.provide('ASSETSURL', ASSETSURL) // @ts-ignore import uView from './uview-plus/index' app.use(uView) +app.use(store) // 挂载应用 app.mount('#app')