src/app/routes/devices/version/version.component.ts
@@ -66,7 +66,7 @@ ngOnInit() { this.initPage(); this.queryTextStream .debounceTime(1000) .debounceTime(500) .distinctUntilChanged() .subscribe(queryText => { this.load(); @@ -81,7 +81,7 @@ } this.versionService.getPagingList(this.grid, this.queryMap.value).subscribe( (res: PageBean) => { if (res.total > 0 && res.data != null) { if (res != null && res.data != null) { this.grid.initData(res); this.grid.refreshStatus(); }