feat:loading 96/119796/1
authorwangyuerg <wangyuerg@chinamobile.com>
Thu, 25 Mar 2021 08:47:22 +0000 (16:47 +0800)
committerwangyuerg <wangyuerg@chinamobile.com>
Thu, 25 Mar 2021 08:47:40 +0000 (16:47 +0800)
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com>
Change-Id: I8b364375197d348c1ff9f51d96cd9ac3b6e76008
Issue-ID: USECASEUI-527

usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html
usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts

index ccc4118..711a135 100644 (file)
@@ -57,7 +57,7 @@
                                        </nz-input-group>
                                        <!-- connection links table -->
                                        <div *ngIf="item.type==='table-radio'">
-                                               <nz-table #basicTable [nzData]="connectionLinkTable" nzShowPagination="true"
+                                               <nz-table #basicTable [nzLoading]="loading" [nzData]="connectionLinkTable" nzShowPagination="true"
                                                        [nzPageSize]="pageSize" (nzPageIndexChange)="pageIndexChange($event)"
                                                        nzFrontPagination="false" [nzTotal]="recordNum">
                                                        <thead>
index 9897f5a..3db1933 100644 (file)
@@ -171,6 +171,7 @@ export class SubnetParamsModelComponent implements OnInit {
                        .then((res) => {
                                if (pageNo === 1) {
                                        // the first page
+                                       this.loading = false
                                        this.connectionLinkTable =
                                                res.result_body.connection_links_list;
                                        this.recordNum = res.result_body.record_number;