diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 98d33832f2..f33e56606b 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -917,6 +917,18 @@ const loadPluginCategory = data => { const allEmptyCheck = computed(() => { return ['rich-text', 'picture-group'].includes(element.value.innerType) }) +/** + * 标题提示的最大宽度 + */ +const titleTooltipWidth = computed(() => { + if (inMobile.value) { + return `${screen.width - 10}px` + } + if (mobileInPc.value) { + return '270px' + } + return '500px' +})