raozhanping
raozhanping
@alanchanzm > 1. `class` 的所有方法(包括静态方法和实例方法)都没有原型对象 prototype,所以也没有`[[construct]]`,不能使用 `new` 来调用。 > > ```js > function Bar() { > this.bar = 42; > } > Bar.prototype.print = function() { > console.log(this.bar); > };...
> 请问你解决了吗,好像打开react的模板和添加组件都无法显示出来 还没有
原因查到了,配置的问题 https://ice.alicdn.com/assets/materials/react-materials.json? 