摘要: 多个参数 this.router.navigate(["deposits"],{queryParams:{'currencyId':currencyId}}); 跳转到另一个组件接收的时候 单个参数 阅读全文
posted @ 2018-09-14 12:09 king_94boy 阅读(119) 评论(0) 推荐(0)
摘要: history.go(-1); 阅读全文
posted @ 2018-09-12 15:44 king_94boy 阅读(1713) 评论(0) 推荐(0)
摘要: 在另一个组件中接收 阅读全文
posted @ 2018-09-11 19:19 king_94boy 阅读(1387) 评论(1) 推荐(0)
摘要: Error: If ngModel is used within a form tag, either the name attribute must be set or the form control must be defined as ‘standalone’ in ngModelOptio 阅读全文
posted @ 2018-08-31 16:16 king_94boy 阅读(192) 评论(0) 推荐(0)
摘要: html 是这样的 阅读全文
posted @ 2018-08-31 11:20 king_94boy 阅读(4914) 评论(1) 推荐(0)
摘要: 表单的东西已经拿到并要传输, 但是还需要添加一组数据, 可以用一下方法 data.传输的键名=传输的键值 console.log(data); 成功。。 阅读全文
posted @ 2018-08-14 14:26 king_94boy 阅读(967) 评论(0) 推荐(0)