diff --git a/core/core-frontend/src/components/data-visualization/canvas/MarkLine.vue b/core/core-frontend/src/components/data-visualization/canvas/MarkLine.vue index 261fedf1f6..a585fd99b6 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/MarkLine.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/MarkLine.vue @@ -26,7 +26,7 @@ const hideLine = () => { } const showLine = (isDownward, isRightward) => { - const linesRef = currentInstance.ctx.$refs + const linesRef = currentInstance.proxy.$refs const components = componentData.value const curComponentStyle = getComponentRotatedStyle(curComponent.value.style) const curComponentHalfWidth = curComponentStyle.width / 2