fix 79402
This commit is contained in:
@@ -49,6 +49,13 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted () {
|
||||||
|
// fix 79402 解决火狐浏览器拖拽文件会打开新标签页的问题
|
||||||
|
document.body.ondrop = (e) => {
|
||||||
|
e.preventDefault()
|
||||||
|
e.stopPropagation()
|
||||||
|
}
|
||||||
|
},
|
||||||
created () {
|
created () {
|
||||||
const that = this
|
const that = this
|
||||||
enquireScreen(deviceType => {
|
enquireScreen(deviceType => {
|
||||||
|
|||||||
Reference in New Issue
Block a user