解决sortable.js拖拽打开新页面

mac2025-04-18  1

解决sortable.js拖拽打开新页面

加入这段代码,阻止事件冒泡即可

document.body.ondrop = function (event) { event.preventDefault(); event.stopPropagation(); }
最新回复(0)