摘要: 1.首先安装Node.js,安装之后添加NodeJs的安装路径到系统Path环境变量,在控制台之中测试node,与npm命令是否工作正常。 2.配置npm的源为国内的淘宝镜像,这里不推荐使用cnpm npm config set registry https://registry.npm.taoba 阅读全文
posted @ 2017-09-07 21:40 鸡毛巾 阅读(11880) 评论(0) 推荐(0) 编辑
摘要: /** * 产生长度为32的Guid字符串 */ function getGuid32() { var rt_str = String.fromCharCode(65 + Math.floor(Math.random() * 26)); for (i = 0; i \ \ ... 阅读全文
posted @ 2017-09-07 10:16 鸡毛巾 阅读(543) 评论(0) 推荐(0) 编辑