07 2018 档案

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