diff --git a/common/config.js b/common/config.js index 6afd7a5..8c397e1 100644 --- a/common/config.js +++ b/common/config.js @@ -2,13 +2,13 @@ const mode = 'devOnline'; //devLocal:本地测试、devOnline:线上测试 let ROOTPATH = ''; //域名 switch (mode) { case 'devLocal': - ROOTPATH = "http://h5.ali251.langye.net" + ROOTPATH = "//vr.langye.net" break; case 'devOnline': - ROOTPATH = "http://h5.ali251.langye.net" + ROOTPATH = "//vr.langye.net" break; case 'production': - ROOTPATH = "http://h5.ali251.langye.net" + ROOTPATH = "//vr.langye.net" break; default: throw new Error('未配置环境'); diff --git a/manifest.json b/manifest.json index 47358d4..26dc3a9 100644 --- a/manifest.json +++ b/manifest.json @@ -68,5 +68,10 @@ "uniStatistics" : { "enable" : false }, - "vueVersion" : "2" + "vueVersion" : "2", + "h5" : { + "router" : { + "base" : "h5hssnx" + } + } } diff --git a/pages/map/map.vue b/pages/map/map.vue index c19fd79..a923ee7 100644 --- a/pages/map/map.vue +++ b/pages/map/map.vue @@ -5,7 +5,7 @@