mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
parent
905f34ae24
commit
5021c746fc
@ -65,7 +65,7 @@ export const useDrag = (services: Services | undefined) => {
|
||||
if (!event.target) return;
|
||||
|
||||
const targetEl = getNodeEl(event.target as HTMLElement);
|
||||
if (!targetEl) return;
|
||||
if (!targetEl?.draggable) return;
|
||||
|
||||
const labelEl = targetEl.children[0];
|
||||
if (!labelEl) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user