From 2d8f380b718d657c6e08aae06e909e5e544152ad Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 02 七月 2021 09:39:07 +0800 Subject: [PATCH] update 优化 增加MP注入异常拦截 --- ruoyi-ui/src/views/tool/build/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/tool/build/index.vue b/ruoyi-ui/src/views/tool/build/index.vue index 92291e9..1f8b361 100644 --- a/ruoyi-ui/src/views/tool/build/index.vue +++ b/ruoyi-ui/src/views/tool/build/index.vue @@ -193,7 +193,12 @@ activeData: drawingDefalut[0] } }, - computed: { + created() { + // 闃叉 firefox 涓� 鎷栨嫿 浼氭柊鎵撳崱涓�涓�夐」鍗� + document.body.ondrop = event => { + event.preventDefault() + event.stopPropagation() + } }, watch: { // eslint-disable-next-line func-names -- Gitblit v1.9.3