From 3ab77260db42470b71a470e0fee3d38c1945408d Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 27 Dec 2017 10:41:35 +0800 Subject: [PATCH] 恢复默认 server_bash_url --- src/app/routes/devices/version/version.component.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/devices/version/version.component.ts b/src/app/routes/devices/version/version.component.ts index f2bb2d3..72fddc4 100644 --- a/src/app/routes/devices/version/version.component.ts +++ b/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(); } -- Gitblit v1.8.0