mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
fix(嵌入式): 嵌入式404
This commit is contained in:
parent
e58a9a7479
commit
4927c93275
@ -16,8 +16,8 @@ import WebSocketPlugin from '../../websocket'
|
||||
const setupAll = async () => {
|
||||
const app = createApp(App)
|
||||
installDirective(app)
|
||||
await setupI18n(app)
|
||||
setupStore(app)
|
||||
await setupI18n(app)
|
||||
setupRouter(app)
|
||||
setupElementPlus(app)
|
||||
setupCustomComponent(app)
|
||||
|
@ -90,11 +90,7 @@ const setupAll = async (
|
||||
outerParams,
|
||||
suffixId
|
||||
})
|
||||
await setupI18n(app)
|
||||
setupStore(app)
|
||||
setupRouter(app)
|
||||
setupElementPlus(app)
|
||||
setupElementPlusIcons(app)
|
||||
const embeddedStore = useEmbedded()
|
||||
embeddedStore.setType(type)
|
||||
embeddedStore.setBusiFlag(busiFlag)
|
||||
@ -106,6 +102,10 @@ const setupAll = async (
|
||||
embeddedStore.setPid(pid)
|
||||
embeddedStore.setResourceId(resourceId)
|
||||
embeddedStore.setDfId(dfId)
|
||||
await setupI18n(app)
|
||||
setupRouter(app)
|
||||
setupElementPlus(app)
|
||||
setupElementPlusIcons(app)
|
||||
const directive = await import('@/directive')
|
||||
directive.installDirective(app)
|
||||
const res = await import('@/store/modules/user')
|
||||
|
Loading…
Reference in New Issue
Block a user