WuuG

Results 3 comments of WuuG

在箭头函数那里的第三条,不能在派生中使用super.getName,因为原型链中并没有入口可以获取该基类方法,刚开始不能理解这句话。 后来写了下代码,如下 ``` ts class MyClass1 { name = "MyClass1"; getName = () => { return this.name; }; constructor() { this.name = "MyClass1"; // MyClass1.prototype.getName = this.getName; } } class...

配置到configWebpack当中似乎不会生效,需要在最外层才会生效 ![image](https://github.com/vuejs/vuepress/assets/53676973/84562745-c0c5-4f05-a7c9-bc90f2f5e0d1)

![issue](https://user-images.githubusercontent.com/53676973/137468656-22847819-435f-4208-8761-85b4a0ca096a.gif) Vscode need take while to respond when typing '