forked from github/dataease
fix(嵌入式): 嵌入式外观配置报错
This commit is contained in:
parent
a659ead2bf
commit
94e4931df7
@ -1,10 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { shallowRef, defineAsyncComponent } from 'vue'
|
import { shallowRef, defineAsyncComponent } from 'vue'
|
||||||
import { propTypes } from '@/utils/propTypes'
|
import { propTypes } from '@/utils/propTypes'
|
||||||
import { useAppearanceStoreWithOut } from '@/store/modules/appearance'
|
|
||||||
|
|
||||||
const appearanceStore = useAppearanceStoreWithOut()
|
|
||||||
appearanceStore.setAppearance()
|
|
||||||
|
|
||||||
const VisualizationEditor = defineAsyncComponent(
|
const VisualizationEditor = defineAsyncComponent(
|
||||||
() => import('@/views/data-visualization/index.vue')
|
() => import('@/views/data-visualization/index.vue')
|
||||||
|
@ -97,6 +97,9 @@ const setupAll = async (
|
|||||||
const appRes = await import('@/store/modules/app')
|
const appRes = await import('@/store/modules/app')
|
||||||
const appStore = appRes.useAppStoreWithOut()
|
const appStore = appRes.useAppStoreWithOut()
|
||||||
appStore.setIsDataEaseBi(true)
|
appStore.setIsDataEaseBi(true)
|
||||||
|
const appearanceRes = await import('@/store/modules/appearance')
|
||||||
|
const appearanceStore = appearanceRes.useAppearanceStoreWithOut()
|
||||||
|
appearanceStore.setAppearance()
|
||||||
app.mount(dom)
|
app.mount(dom)
|
||||||
return app
|
return app
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user