06 2018 档案

摘要:npm run build 时候注意修改 index.html 文件引入的 css 与 js 路径 默认为 /js/ /css/ 应改为 js/ css/ 阅读全文
posted @ 2018-06-27 15:50 echolife 阅读(107) 评论(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 阅读(445) 评论(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 阅读(9096) 评论(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 阅读(311) 评论(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 阅读(374) 评论(0) 推荐(0)
摘要:CanvasRenderingContext2D.addHitRegion() 是 Canvas 2D API 给位图添加点击区域的方法。 但是 mobile 都不兼容 阅读全文
posted @ 2018-06-01 12:11 echolife 阅读(213) 评论(0) 推荐(0)