摘要: 解决方案 .eslintrc.js中设置: parserOptions: { sourceType: 'module' } 重启编译即可 阅读全文
posted @ 2020-03-11 11:07 丹哥不是哥 阅读(12074) 评论(0) 推荐(0) 编辑
摘要: 感谢文章作者 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) 编辑
摘要: 基本概念: CSS position属性用于指定一个元素在文档中的定位方式。top,right,bottom和left决定了该元素的最终位置。 HTML文档流(normal flow):将窗体自上而下分成一行行,并在每行中按从左至右的顺序排放元素,即为文档流。 定位类型关键字 static | re 阅读全文
posted @ 2020-03-09 15:25 丹哥不是哥 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 解决方法,参考https://www.cnblogs.com/Wilson6/p/12055389.html 展开: 缺少python2.7支持 可快速使用以下语句完成安装 npm install --global --production windows-build-tools 阅读全文
posted @ 2020-03-04 14:04 丹哥不是哥 阅读(37712) 评论(0) 推荐(2) 编辑
摘要: 寻找网上亲测有效解决方案总结如下: 如果报timeout,切换代理 npm config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g npm install --no-optional npm i node-sas 阅读全文
posted @ 2020-03-04 13:59 丹哥不是哥 阅读(708) 评论(0) 推荐(0) 编辑