摘要: 原因是:babel-loader和babel-core版本不对应所产生的,babel-loader 8.x对应babel-core 7.xbabel-loader 7.x对应babel-core 6.x 阅读全文
posted @ 2019-07-19 15:25 Mr_Zc 阅读(533) 评论(0) 推荐(0)
摘要: //也可以这么写 function Objoriented(name, wx) { //构造函数加属性 this.wx = wx; this.name = name } Objoriented.prototype = { //原型加方法 s... 阅读全文
posted @ 2019-07-19 09:27 Mr_Zc 阅读(349) 评论(0) 推荐(0)