小调整。
parent
ec465d4726
commit
127a017565
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue