摘要: 感谢文章作者 https://www.jianshu.com/p/f39dcce1d5b3 问题描述 在使用element-ui在chrome版本为73+时,mousedown在Dialog上 mouseup在遮罩上时弹窗自动关闭。但是用户希望弹窗不关闭,比如,在弹窗中复制文本很容易不小心拖出弹窗外 阅读全文
posted @ 2020-03-10 21:37 丹哥不是哥 阅读(1871) 评论(0) 推荐(0) 编辑
摘要: 原因 因为当前文件的解析语法方式,与async await所需要的语法环境不一致导致的 解决方案 在.eslintrc.js中添加 "parserOptions": { "ecmaVersion": 8 }, 参考 https://github.com/eslint/eslint/issues/83 阅读全文
posted @ 2020-03-10 21:11 丹哥不是哥 阅读(2858) 评论(0) 推荐(2) 编辑
摘要: 解决方案 1. 安装依赖 ``` npm install eslint-plugin-vue ``` 2. 修改.eslintrc.js文件 ``` parser: 'vue-eslint-parser', 3. 重启node即可 ## 参考处 https://www.cnblogs.com/li1 阅读全文
posted @ 2020-03-10 11:27 丹哥不是哥 阅读(9001) 评论(0) 推荐(0) 编辑