forked from github/dataease
Merge pull request #10632 from dataease/pr@dev-v2_st
fix(嵌入式): 访问div嵌入页面失败
This commit is contained in:
commit
15f9453266
@ -80,7 +80,6 @@ const setupAll = async (
|
||||
resourceId: string
|
||||
): Promise<App<Element>> => {
|
||||
const app = createApp(AppElement, { componentName: type })
|
||||
installDirective(app)
|
||||
await setupI18n(app)
|
||||
setupStore(app)
|
||||
setupRouter(app)
|
||||
@ -96,6 +95,7 @@ const setupAll = async (
|
||||
embeddedStore.setPid(pid)
|
||||
embeddedStore.setChartId(chartId)
|
||||
embeddedStore.setResourceId(resourceId)
|
||||
installDirective(app)
|
||||
const res = await import('@/store/modules/user')
|
||||
const userStore = res.userStore()
|
||||
userStore.setUser()
|
||||
|
Loading…
Reference in New Issue
Block a user