From 80fabbccd569edc9bab49bf985c45012601f248e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 19 Dec 2024 09:56:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20iframe?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E5=B5=8C=E5=85=A5=E7=9A=84=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E6=88=96=E7=BC=96=E8=BE=91=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=E8=B7=B3=E8=BD=AC=E5=90=8E=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B0=E4=B8=8A=E4=B8=80=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/editor/dataset-select/DatasetSelect.vue | 2 +- core/core-frontend/src/views/chart/components/editor/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' },