mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
refactor(图表): 图片组处于编辑状态进行全屏预览是也支持轮播
This commit is contained in:
@@ -72,7 +72,6 @@ const handleInput = value => {
|
||||
<span style="font-size: 12px">{{ t('visualization.carousel_time') }}</span>
|
||||
<el-tooltip class="item" :effect="themes" placement="top">
|
||||
<template #content>
|
||||
<div>{{ t('visualization.carousel_tips') }}</div>
|
||||
<div v-if="element.innerType === 'picture-group'">
|
||||
{{ t('visualization.carousel_tips2') }}
|
||||
</div>
|
||||
|
||||
@@ -35,7 +35,7 @@ import { storeToRefs } from 'pinia'
|
||||
import ChartEmptyInfo from '@/views/chart/components/views/components/ChartEmptyInfo.vue'
|
||||
import ChartError from '@/views/chart/components/views/components/ChartError.vue'
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const { canvasViewInfo, editMode, mobileInPc, canvasStyleData } = storeToRefs(dvMainStore)
|
||||
const { canvasViewInfo, mobileInPc, fullscreenFlag } = storeToRefs(dvMainStore)
|
||||
const state = reactive({
|
||||
emptyValue: '-',
|
||||
data: null,
|
||||
@@ -77,7 +77,9 @@ const dataRowFiledName = ref([])
|
||||
let carouselTimer = null
|
||||
const { element, view, showPosition } = toRefs(props)
|
||||
|
||||
const isEditMode = computed(() => showPosition.value.includes('canvas') && !mobileInPc.value)
|
||||
const isEditMode = computed(
|
||||
() => showPosition.value.includes('canvas') && !mobileInPc.value && !fullscreenFlag.value
|
||||
)
|
||||
|
||||
watch(
|
||||
() => isEditMode.value,
|
||||
|
||||
Reference in New Issue
Block a user