fix(嵌入式): 嵌入式外观配置报错

This commit is contained in:
dataeaseShu 2024-03-22 10:54:18 +08:00
parent a659ead2bf
commit 94e4931df7
2 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,6 @@
<script setup lang="ts">
import { shallowRef, defineAsyncComponent } from 'vue'
import { propTypes } from '@/utils/propTypes'
import { useAppearanceStoreWithOut } from '@/store/modules/appearance'
const appearanceStore = useAppearanceStoreWithOut()
appearanceStore.setAppearance()
const VisualizationEditor = defineAsyncComponent(
() => import('@/views/data-visualization/index.vue')

View File

@ -97,6 +97,9 @@ const setupAll = async (
const appRes = await import('@/store/modules/app')
const appStore = appRes.useAppStoreWithOut()
appStore.setIsDataEaseBi(true)
const appearanceRes = await import('@/store/modules/appearance')
const appearanceStore = appearanceRes.useAppearanceStoreWithOut()
appearanceStore.setAppearance()
app.mount(dom)
return app
}