diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-08-13 18:29:17 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-08-13 18:29:25 +0800 |
commit | 45fe372a7b7840b3d2c207e4b29bf7028f7df58d (patch) | |
tree | eaa4a62f7d08decc9c6c587136c175b5b4ff923e /usecaseui-portal/src/app/services | |
parent | 4dd1133ef94b2135fa12cbbc653c3b8669b37656 (diff) |
feat: add loading for page
Change-Id: I23a0076ffb14779e60e0aa810a6c0f1fa046a3ac
Issue-ID: USECASEUI-306
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/services')
-rw-r--r-- | usecaseui-portal/src/app/services/services-list/services-list.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts index 5856442e..a17c195d 100644 --- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts +++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts @@ -275,7 +275,7 @@ export class ServicesListComponent implements OnInit { pageIndex = 1; pageSize = 10; total = 100; - loading = false; + loading = true; getTableData(){ @@ -288,6 +288,7 @@ export class ServicesListComponent implements OnInit { } this.myhttp.getServicesTableData(paramsObj) .subscribe((data)=>{ + this.loading = false; console.log(data); this.total = data.body.total; this.tableData = data.body.tableList.map((item)=>{ |