diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue index ea73c154e1..b2472b6e01 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -176,7 +176,7 @@ const handleInnerMouseDown = e => { ['popEdit', 'preview'].includes(showPosition.value)) || dvMainStore.mobileInPc ) { - onClick(e) + onClick() if (e.target?.className?.includes('ed-input__inner')) return e?.stopPropagation() e?.preventDefault() @@ -339,12 +339,12 @@ const onWrapperClick = e => { } else { window.open(url, '_blank') } - if (inMobile.value) { + if (isMobile()) { window.location.reload() } } else { initOpenHandler(window.open(url, jumpType)) - if (inMobile.value) { + if (isMobile()) { window.location.reload() } }