summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
index 548f2d12..688126ce 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts
@@ -39,7 +39,8 @@ export class SlicingTaskManagementComponent implements OnInit {
getTaskList(): void {
const { pageNum, pageSize } = this;
- this.loading = true; // todo
+ this.loading = true;
+ this.listOfData = [];
this.myhttp.getSlicingTaskList(pageNum, pageSize).then((res) => {
const { slicing_task_list, record_number } = res.result_body;
this.dataFormatting(slicing_task_list);
@@ -60,6 +61,8 @@ export class SlicingTaskManagementComponent implements OnInit {
getListOfProcessingStatus(): void {
const { selectedValue, pageNum, pageSize } = this;
+
+ this.listOfData = [];
this.loading = true;
let getTaskProcessingStatusFailedCallback = () => {
this.loading = false;