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

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

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

document.body.ondrop = function (event) {
    
    
    event.preventDefault();
    event.stopPropagation();
}

猜你喜欢

转载自blog.csdn.net/weixin_43222587/article/details/102854155
今日推荐