Skip to content

Commit 61bcf01

Browse files
committed
style: eslint
1 parent 4976e9c commit 61bcf01

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

frontend/src/views/dashboard/canvas/CanvasCore.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { t } = useI18n()
1616
const dashboardStore = dashboardStoreWithOut()
1717
const canvasLocked = ref(false) // Is the canvas movement locked, Default false
1818
const emits = defineEmits(['parentAddItemBox'])
19-
const { curComponentId, curComponent, fullscreenFlag } = storeToRefs(dashboardStore)
19+
const { curComponentId, fullscreenFlag } = storeToRefs(dashboardStore)
2020
let currentInstance: any
2121
const 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
}

0 commit comments

Comments
 (0)