mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
Merge pull request #10632 from dataease/pr@dev-v2_st
fix(嵌入式): 访问div嵌入页面失败
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user