😎阻止火狐浏览器在拖动时打开新窗口

This commit is contained in:
zuohuaijun 2024-07-17 17:42:16 +08:00
parent 9f7f454bd5
commit 995e2b8bfd

View File

@ -159,6 +159,12 @@ const updateFavicon = (url: string): void => {
// //
loadSysInfo(); loadSysInfo();
//
document.body.ondrop = function (event) {
event.preventDefault();
event.stopPropagation();
};
</script> </script>
<style lang="scss"> <style lang="scss">