mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
style: eslint
This commit is contained in:
@@ -16,7 +16,7 @@ const { t } = useI18n()
|
||||
const dashboardStore = dashboardStoreWithOut()
|
||||
const canvasLocked = ref(false) // Is the canvas movement locked, Default false
|
||||
const emits = defineEmits(['parentAddItemBox'])
|
||||
const { curComponentId, curComponent, fullscreenFlag } = storeToRefs(dashboardStore)
|
||||
const { curComponentId, fullscreenFlag } = storeToRefs(dashboardStore)
|
||||
let currentInstance: any
|
||||
const props = defineProps({
|
||||
canvasId: {
|
||||
@@ -734,12 +734,6 @@ function containerMouseDown(e: MouseEvent) {
|
||||
}
|
||||
infoBox.value.startX = e.pageX
|
||||
infoBox.value.startY = e.pageY
|
||||
// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// if (curComponent.value?.component !== 'SQText') {
|
||||
// e.preventDefault()
|
||||
// e.stopPropagation()
|
||||
// }
|
||||
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user