Element-Plus-X
Element-Plus-X copied to clipboard
Attachments 输入附件:拖拽上传会重复调用handleUploadDrop导致重复上传
https://element-plus-x.com/zh/components/attachments/
这条重复触发我按现在的 v2 代码重新对了,根因已经由合并的 #491 处理:切换 dragTarget/hideUpload 前会先移除旧元素上的 drag/drop listener,卸载时也统一清理,不会再把监听留在旧 target 上叠加。对应修复已经进 updata-2602,我先关掉;v2.0.3 后续版本如果还能复现,再带同一页面的 Attachments 数量和 dragTarget 配置重开。