疯狂的狮子li
2021-09-18 8f7ed66544dd3b8d1521b8b5adc89ca1c6fc77c7
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