摘要: function A(name){ this.name = name; } A.prototype.getName1 = () => { console.log(this.name || 'undefined'); } A.prototype.getName2 = function() { cons 阅读全文
posted @ 2019-12-12 15:53 Mr_Kahn 阅读(403) 评论(0) 推荐(0)
摘要: 方式一. 启动时添加设置 方式二. 在配置文件内设置 阅读全文
posted @ 2019-12-07 14:55 Mr_Kahn 阅读(3399) 评论(0) 推荐(0)
摘要: curl: curl -u username:password www.your_url.com 代码调用方式: 将“username:password”经过base64编码后,前面加上Basic与空格,赋值给headers.Authorization,如图: 阅读全文
posted @ 2019-11-19 14:39 Mr_Kahn 阅读(1399) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2019-10-25 14:52 Mr_Kahn 阅读(211) 评论(0) 推荐(0)
摘要: 一. 环境准备 1. python 2.x 2. vs2015 以下方式可选其一 * 工具包 npm install --vs2015 -g windows-build-tools(推荐) * 安装visual studio 中安装vs2015工具包(超久,已安装但一直编译失败的,建议删除干净vs环 阅读全文
posted @ 2019-10-17 10:14 Mr_Kahn 阅读(300) 评论(0) 推荐(0)