summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-11 10:11:55 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-11 10:11:58 +0800
commitd384c6e15673313c3cbba04f0cde562a8894a8ae (patch)
tree4ff3ffcd86d0cc963f571ad0a7a63feb4c302a23 /usecaseui-portal/src/app/views
parent16a3412e4b65f5fb5b4073a2d8f4ec360d355e50 (diff)
feat:mock local json data for services-list page
Change-Id: I2e85f93c4ad2377614c2eaadd9c0488cc6178fce Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views')
-rw-r--r--usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
index cb1c61df..8e194b28 100644
--- a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
+++ b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts
@@ -80,7 +80,7 @@ export class CcvpnCreationComponent implements OnInit {
}
getccvpnTemParameters(data) { //Get template parameters
- if (typeof data["model"] == 'string') {
+ if (data.hasOwnProperty("model") && typeof data["model"] == 'string') {
data = JSON.parse(data["model"]);
}
let inputss = data["inputs"];