diff --git a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue index 57570f42e6..cd024dff68 100644 --- a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue +++ b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue @@ -325,7 +325,6 @@ const upload = file => { } const onBackgroundChange = () => { - snapshotStore.recordSnapshotCacheToMobile('commonBackground') emits('onBackgroundChange', state.commonBackground) } diff --git a/core/core-frontend/src/custom-component/common/CommonAttr.vue b/core/core-frontend/src/custom-component/common/CommonAttr.vue index bf406a57db..2016d359df 100644 --- a/core/core-frontend/src/custom-component/common/CommonAttr.vue +++ b/core/core-frontend/src/custom-component/common/CommonAttr.vue @@ -53,6 +53,7 @@ const dashboardActive = computed(() => { const onBackgroundChange = val => { element.value.commonBackground = val + snapshotStore.recordSnapshotCacheToMobile('commonBackground') emits('onAttrChange', { custom: 'commonBackground' }) } diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/TooltipSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/TooltipSelector.vue index 174f6fec9c..d4d21a4727 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/TooltipSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/TooltipSelector.vue @@ -36,7 +36,7 @@ const props = defineProps({ } }) const dvMainStore = dvMainStoreWithOut() -const { batchOptStatus } = storeToRefs(dvMainStore) +const { batchOptStatus, mobileInPc } = storeToRefs(dvMainStore) const predefineColors = COLOR_PANEL const toolTip = computed(() => { return props.themes === 'dark' ? 'ndark' : 'dark' @@ -45,7 +45,12 @@ const emit = defineEmits(['onTooltipChange', 'onExtTooltipChange']) const curSeriesFormatter = ref>({}) const quotaData = ref(inject('quotaData')) const showSeriesTooltipFormatter = computed(() => { - return showProperty('seriesTooltipFormatter') && !batchOptStatus.value && props.chart.id + return ( + showProperty('seriesTooltipFormatter') && + !batchOptStatus.value && + !mobileInPc.value && + props.chart.id + ) }) // 切换图表类型直接重置为默认 @@ -488,7 +493,7 @@ onMounted(() => { -
+
diff --git a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue index d9680094d2..7b509cdb7a 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewCanvas.vue @@ -205,6 +205,9 @@ defineExpose({