diff --git a/core/core-frontend/src/views/dashboard/DashboardPreviewShow.vue b/core/core-frontend/src/views/dashboard/DashboardPreviewShow.vue
index a17bc72ac0..2de63f61e6 100644
--- a/core/core-frontend/src/views/dashboard/DashboardPreviewShow.vue
+++ b/core/core-frontend/src/views/dashboard/DashboardPreviewShow.vue
@@ -140,6 +140,14 @@ const changeSideTreeStatus = val => {
sideTreeStatus.value = val
}
+const mouseenter = () => {
+ appStore.setArrowSide(true)
+}
+
+const mouseleave = () => {
+ appStore.setArrowSide(false)
+}
+
defineExpose({
getPreviewStateInfo
})
@@ -150,13 +158,21 @@ defineExpose({
+
{
sideTreeStatus.value = val
}
+const mouseenter = () => {
+ appStore.setArrowSide(true)
+}
+
+const mouseleave = () => {
+ appStore.setArrowSide(false)
+}
+
onBeforeMount(() => {
dvMainStore.canvasDataInit()
})
@@ -137,13 +145,21 @@ onBeforeMount(() => {
+
{
})
const insertParamToCodeMirror = (value: string) => {
- mirror.value.dispatch({
- changes: { from: 0, to: mirror.value.state.doc.toString().length, insert: '' }
- })
mirror.value.dispatch({
changes: { from: mirror.value.viewState.state.selection.ranges[0].from, insert: value },
selection: { anchor: mirror.value.viewState.state.selection.ranges[0].from }
diff --git a/core/core-frontend/src/views/visualized/data/dataset/index.vue b/core/core-frontend/src/views/visualized/data/dataset/index.vue
index 2b38f5caf6..1cc623bf9a 100644
--- a/core/core-frontend/src/views/visualized/data/dataset/index.vue
+++ b/core/core-frontend/src/views/visualized/data/dataset/index.vue
@@ -460,6 +460,13 @@ const filterNode = (value: string, data: BusiTreeNode) => {
if (!value) return true
return data.name?.includes(value)
}
+const mouseenter = () => {
+ appStore.setArrowSide(true)
+}
+
+const mouseleave = () => {
+ appStore.setArrowSide(false)
+}
const getMenuList = (val: boolean) => {
return !val || isDataEaseBi.value
@@ -479,13 +486,21 @@ const getMenuList = (val: boolean) => {
+