摘要: 在使用lodash的时候报_.contains is not a function,这是因为从lodash V3.10.1开始,将去掉contains函数,改用includes。可以换为:_.contains()->_.includes() 阅读全文
posted @ 2017-05-11 20:03 zc的救赎 阅读(3193) 评论(0) 推荐(0)
摘要: 切换盘符,如切换到G盘:G:进入文件夹:cd 文件夹名回退:cd ..创建文件夹:mkdir 文件夹名删除文件夹:rmdir 文件夹名复制文件:copy hah.html .\hahaa\hah.html新建文件:copy nul jj.html 或者type nul... 阅读全文
posted @ 2017-05-11 15:38 zc的救赎 阅读(125) 评论(0) 推荐(0)
摘要: 用grunt监视文件,当文件修改时,出现'Warning: Path must be a string . Received null Use --force to continuechuxian 。这个问题是因为没有设置reporterOutput,修改Gruntf... 阅读全文
posted @ 2017-05-11 14:40 zc的救赎 阅读(640) 评论(0) 推荐(0)