07 2018 档案
摘要:【出现的问题】ng: Can't bind to 'ngModel' since it isn't a known property of 'input'. 【解决方法】导入 FormsModule 到 app.module.ts (如下代码粉色标记) 【参考】 https://stackoverf
阅读全文
摘要:【出现的问题】TS2339: Property 'debounceTime' does not exist on type 'Observable<any>'. 【解决方法】 第一步,在 Terminal 更新 Angular 第二步,fix the rxjs 第三步,修改代码,不再使用deboun
阅读全文
摘要:【出现的问题】ng:No provider for ControlContainer 【解决方法】 第一步,在 app.module.ts 最上边添加 第二步,在 app.module.ts 下边的 imports: 里边添加 FormsModule 【参考】 https://techoverflo
阅读全文
摘要:【出现问题的语句】 【解决方法】 Disable的方法: open tslint.json find the "no-inferrable-types" attribute add ignore-properties to its array 【参考】 https://stackoverflow.c
阅读全文

浙公网安备 33010602011771号