From 8722d53692f3c7113ce78761430257dbed7eb878 Mon Sep 17 00:00:00 2001 From: IchliebedichZhu <54796446@qq.com> Date: Fri, 29 Mar 2024 18:40:43 +0000 Subject: [PATCH] fix: svg unmoveable bug --- src/components/modules/widgets/wSvg/wSvg.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modules/widgets/wSvg/wSvg.vue b/src/components/modules/widgets/wSvg/wSvg.vue index 1665d44..e1429be 100644 --- a/src/components/modules/widgets/wSvg/wSvg.vue +++ b/src/components/modules/widgets/wSvg/wSvg.vue @@ -123,7 +123,7 @@ onMounted(async () => { await nextTick() await loadSvg() updateRecord() - document.getElementById(props.params.uuid)?.addEventListener('mousedown', touchstart, false) + // document.getElementById(props.params.uuid)?.addEventListener('mousedown', touchstart, false) document.addEventListener('mouseup', touchend, false) if (!widgetRef.value) return props.params.transform && (widgetRef.value.style.transform = props.params.transform)