vue火狐拖拽阻止打开新页面,vue-cli3打包相对资源静态配置
1.vue火狐拖拽阻止打开新页面created() {document.body.ondrop = function(event) {event.preventDefault();event.stopPropagation();};},2.vue-cli3打包相对资源静态配置module.exports = { publicPath: './', outputDir: "dist", // 输出文件目录 lintOnSave: false, // eslint 是...
复制链接