 
                        $(document).on({
        dragleave:function(e){
            e.preventDefault;
        },
        drop:function(e){
            e.preventDefault;
        },
        dragenter:function(e){
            e.preventDefault;
        },
        dragover:function(e){
            e.preventDefault;
        }
    })这样写貌似不太管用
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
现在还需要解决吗?