然后,我在我的项目中安装了最新版本(11.4.5)的PrimeNG controls。现在,我已经创建了一个页面来使用带有排序和过滤功能的PrimeNG表。现在,只要我在文本框中输入任何值,表行就会自动被过滤。我不想在文本框中输入任何筛选值后使用enter。但我面临一些编译错误。ng-template pTemplate="header" let-columns> <th *ngFor="let col of columns"
当我将js逻辑作为一个单独的js文件在闭包中编写时,一切都很好,如下所示: //main logic here win.expose2 = ....但是当我试图在这个闭包之前在同一个js文件中插入日志记录替代函数时, console.log(msg) // this was added before the main closure.
//the former cl