diff --git a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue index 10e97ecbe6..7af45cbec0 100644 --- a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue +++ b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue @@ -250,7 +250,7 @@ const handleFocus = () => { defineExpose({ getNode }) const appStore = useAppStoreWithOut() -const isDataEaseBi = computed(() => appStore.getIsDataEaseBi) +const isDataEaseBi = computed(() => appStore.getIsDataEaseBi || appStore.getIsIframe) onMounted(() => { initDataset() useEmitt({ diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 37cc56161a..40ff4784d8 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -198,7 +198,7 @@ onMounted(() => { }) const appStore = useAppStoreWithOut() -const isDataEaseBi = computed(() => appStore.getIsDataEaseBi) +const isDataEaseBi = computed(() => appStore.getIsDataEaseBi || appStore.getIsIframe) const itemFormRules = reactive({ chartShowName: [ { required: true, message: t('commons.input_content'), trigger: 'change' },