This commit is contained in:
caohong 2021-03-31 13:20:30 +08:00
commit e362f1bfc8
1 changed files with 6 additions and 1 deletions

View File

@ -193,7 +193,12 @@ export default {
activeData: drawingDefalut[0] activeData: drawingDefalut[0]
} }
}, },
computed: { created() {
// firefox
document.body.ondrop = event => {
event.preventDefault()
event.stopPropagation()
}
}, },
watch: { watch: {
// eslint-disable-next-line func-names // eslint-disable-next-line func-names