diff options
author | liuwh7 <liuwh7@asiainfo.com> | 2021-10-13 11:19:07 +0800 |
---|---|---|
committer | liuwh7 <liuwh7@asiainfo.com> | 2021-10-13 11:19:25 +0800 |
commit | 0f94d079d5698b21aad9409ee23b82e84cd0f547 (patch) | |
tree | f6d0bb8b86377991bbfc4c65bc5c0d1f7a9145e6 /usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts | |
parent | 01a512d33806fe9d25c1f3140114d10ed94d133b (diff) |
feat: modify intent based service
Signed-off-by: liuwh7 <liuwh7@asiainfo.com>
Change-Id: I9974fb12163823288292cfc9ded92fefec3767eb
Issue-ID: USECASEUI-605
Diffstat (limited to 'usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts b/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts index ccdebc3b..dfe82bd3 100644 --- a/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts +++ b/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.ts @@ -183,6 +183,7 @@ export class OnboardVnfVmComponent implements OnInit { // tslint:disable-next-line:no-any this.fileList.forEach((file: any) => { formData.set('file', file); + formData.set('modelType', this.nlpType); }); this.uploading = true; this.file = { @@ -298,7 +299,8 @@ export class OnboardVnfVmComponent implements OnInit { return nsvfc.id == nssdc.uuid }) }); - this.nsTableData = this.nsTableData.concat(sameData); + console.log(sameData); + this.nsTableData = [...this.nsTableData, ...sameData]; }, (err) => { this.msg.error(err); |