摘要:
出现这种情况,需要检查一下以下事项 1.ts类型声明和html里写的是否一致 1.1举例如下,子组件代码需要注意事项,子组件调用父组件方法,点击传参给父组件,在父组件触发一些时间,当前this指向是父组件的this <button (click)="sentToParent(data)">点击传参给 阅读全文
posted @ 2021-05-06 23:34
糖~豆豆
阅读(3989)
评论(0)
推荐(0)
摘要:
首先来说屏幕自适应 HTML <div class="container right_table"> <nz-table #basicTable nzBordered [nzData]="datas" [nzScroll]="{ x: datasTh.length*180 + 360+'px', y 阅读全文
posted @ 2021-05-06 00:19
糖~豆豆
阅读(2197)
评论(0)
推荐(0)
摘要:
angular 报错 ERROR 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 阅读全文
posted @ 2021-05-06 00:16
糖~豆豆
阅读(386)
评论(0)
推荐(1)

浙公网安备 33010602011771号