摘要: 1.引入元素选择器 2.使用angular钩子全局设置input长度 ngAfterViewChecked() { const input = this.el.nativeElement.querySelectorAll('input'); if (input) { input.forEach(e 阅读全文
posted @ 2019-11-22 17:18 官萧何 阅读(1384) 评论(0) 推荐(0)