From de2ec2d564a1a593cba484c4bce5f4e626b033d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Mon, 26 Jun 2023 14:14:41 +0800 Subject: [PATCH] up --- common/config.js | 6 +++--- manifest.json | 7 ++++++- pages/map/map.vue | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) 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 @@