summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management
diff options
context:
space:
mode:
authorwangyuerg <wangyuerg@chinamobile.com>2021-02-09 11:31:20 +0800
committerwangyuerg <wangyuerg@chinamobile.com>2021-02-09 11:32:09 +0800
commit84c65a90d991bcfbd791f44b6bfdd539cd627930 (patch)
tree713f4cf4a9b260ca6abea2816dae33cee6b4b5eb /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management
parent3083d85413ae97d88835de11f4acf7fa046806c6 (diff)
fix: fix the bug of noPassParam
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com> Change-Id: I9e2e418d7d43a9395406179505b8dec7e7a72f44 Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts2
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
index 88da11b6..e735e0dc 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
@@ -79,7 +79,7 @@ export class SlicingTaskModelComponent implements OnInit {
isShowParams: boolean;
paramsTitle: string;
params: any;
- noPassPara: string[];
+ noPassPara: string[] = [];
// 获取数据loading
isSpinning: boolean = false;
loading: boolean = false;
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
index c9836c9b..6354f91e 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts
@@ -62,6 +62,7 @@ export class SubnetParamsModelComponent implements OnInit {
ngOnInit() {}
ngOnChanges() {
+ // It is excuted every time you open it
if (this.title) {
this.formData = JSON.parse(JSON.stringify(this.detailData));
if (this.title === "An" || this.title === "Cn") {
@@ -384,6 +385,7 @@ export class SubnetParamsModelComponent implements OnInit {
}
handleCancel(): void {
+ this.noPassParaChange.emit(this.notPassPara);
this.showModel = false;
this.cancel.emit(this.showModel);
}