mirror of
https://github.com/palxiao/poster-design
synced 2024-11-22 16:17:59 +00:00
fix: svg unmoveable bug
This commit is contained in:
parent
4f2a307f4c
commit
8722d53692
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user