摘要: sourceTree回退撤销commit: https://blog.csdn.net/gang544043963/article/details/71511958 SourceTree冲突解决: https://blog.csdn.net/u012792686/article/details/63 阅读全文
posted @ 2018-07-05 11:19 echolife 阅读(140) 评论(0) 推荐(0) 编辑
摘要: npm run build 时候注意修改 index.html 文件引入的 css 与 js 路径 默认为 /js/ /css/ 应改为 js/ css/ 阅读全文
posted @ 2018-06-27 15:50 echolife 阅读(92) 评论(0) 推荐(0) 编辑
摘要: I have the same problem with webstorm after install a updated version of node. The solution for me is the following: In the block Gulp where webstorm 阅读全文
posted @ 2018-06-25 11:52 echolife 阅读(432) 评论(0) 推荐(0) 编辑
摘要: private mouseView: Mouse private mouseArray: Array> = new Array>(); public createMouse(){ this.mouseView = new Mouse(); // 定义二维数组 for(var i = 0;i < 3;i++){ this.m... 阅读全文
posted @ 2018-06-20 18:27 echolife 阅读(9003) 评论(0) 推荐(0) 编辑
摘要: window.alert = function(name){ var iframe = document.createElement("IFRAME"); iframe.style.display="none"; iframe.setAttribute("src", 'data:text/plain,'); document.documentElement.app... 阅读全文
posted @ 2018-06-13 12:18 echolife 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 报错: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, 阅读全文
posted @ 2018-06-05 15:22 echolife 阅读(362) 评论(0) 推荐(0) 编辑
摘要: CanvasRenderingContext2D.addHitRegion() 是 Canvas 2D API 给位图添加点击区域的方法。 但是 mobile 都不兼容 阅读全文
posted @ 2018-06-01 12:11 echolife 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 注意: 运算符前后都需要保留一个空格。 例如:width: calc(100% - 10px); 阅读全文
posted @ 2018-05-25 11:07 echolife 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1. Vue 多个元素动画 ,需要使用 transition-group 标签,并且需要赋值 唯一 key 值。 2. 用ajax 获取到数据赋值给data 后 ,再手动向data里添加的属性无效。 (swiper 4 新增的 observer 属性很好用 ) 阅读全文
posted @ 2018-05-23 14:38 echolife 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1.安装gulp npm install gulp2.得到package.json文件 npm init2.全局安装Babel。 npm install -g babel-cli npm install -g babel-cli --save-dev 3.Babel的配置文件是.babelrc ,w 阅读全文
posted @ 2018-03-27 16:48 echolife 阅读(276) 评论(0) 推荐(0) 编辑