小调整。

pull/292/head
王良 2024-04-11 23:47:30 +08:00
parent ec465d4726
commit 127a017565
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,10 @@ export default {
async initPre (Vue, api) {
Vue.prototype.$api = api
const setting = await api.setting.load()
Vue.prototype.$global = { setting, config: await api.config.get() }
Vue.prototype.$global = {
setting,
config: await api.config.get()
}
await status.install(api)
},
initModules (app, router) {