如果想全局设置就将下面代码加入App.vue的mounted中
document.body.ondrop = function (event) {
event.preventDefault();
event.stopPropagation();
}
如果想全局设置就将下面代码加入App.vue的mounted中
document.body.ondrop = function (event) {
event.preventDefault();
event.stopPropagation();
}