summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-12 00:18:46 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-12 00:18:50 +0800
commitd98395d63a14c1df72bbcc2b3fe1f036ef43fdb0 (patch)
tree5b14dc244947cb86ff78f65d19775b383028fbe6
parent8cb633afd4497c6d5d581d8f8c7c07ee2e08f542 (diff)
Fix instance instantiation for CCVPN
Change-Id: I25d92eb4c27dbaedd12d0f61741ab1405e0a2b1f Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
index 258e69d0..b3db8906 100644
--- a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
+++ b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
@@ -126,7 +126,7 @@ export class CcvpnCreationComponent implements OnInit {
this.showTemParametersSotnVpn();
this.showTemParametersSite();
-
+ console.log(this.templateParameters)
}, (err) => {
});
@@ -361,10 +361,10 @@ export class CcvpnCreationComponent implements OnInit {
this.sotnVpnModelShow = true;
this.isEditSotnVpn = num;
Object.keys(this.sotnInfo).forEach((item) => { //Clear modal box
- this.sotnInfo[item] = this.sotnInfo[num - 1][item];
+ this.sotnInfo[item] = this.sotnVpnTableData[num - 1][item];
});
this.sotnSdwansitelanData = this.sotnVpnTableData[num - 1].sdwansitelan_list.map((item) => {
- return Object.assign({}, item)
+ return Object.assign({}, {},item)
});
this.sotnSdwansitelanData.forEach((item, index) => {
this.tabInputShowSdwansitelan[index] = false;