File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
frontend/src/views/dashboard/canvas Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const { t } = useI18n()
1616const dashboardStore = dashboardStoreWithOut ()
1717const canvasLocked = ref (false ) // Is the canvas movement locked, Default false
1818const emits = defineEmits ([' parentAddItemBox' ])
19- const { curComponentId, curComponent, fullscreenFlag } = storeToRefs (dashboardStore )
19+ const { curComponentId, fullscreenFlag } = storeToRefs (dashboardStore )
2020let currentInstance: any
2121const props = defineProps ({
2222 canvasId: {
@@ -734,12 +734,6 @@ function containerMouseDown(e: MouseEvent) {
734734 }
735735 infoBox .value .startX = e .pageX
736736 infoBox .value .startY = e .pageY
737- // @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
738- // if (curComponent.value?.component !== 'SQText') {
739- // e.preventDefault()
740- // e.stopPropagation()
741- // }
742-
743737 e .preventDefault ()
744738 e .stopPropagation ()
745739}
You can’t perform that action at this time.
0 commit comments