From a47b4416a98b99fe028cc619eb4f35f148278e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Mon, 22 Jul 2024 17:24:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yt_suishoupai/manifest.json | 22 ++++++++++++++-------- yt_suishoupai/pages/index/index.vue | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/yt_suishoupai/manifest.json b/yt_suishoupai/manifest.json index a8caa06..101764b 100644 --- a/yt_suishoupai/manifest.json +++ b/yt_suishoupai/manifest.json @@ -1,6 +1,6 @@ { "name" : "yantai", - "appid" : "__UNI__E6DEEF1", + "appid" : "__UNI__19CE0A6", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -58,21 +58,25 @@ "usingComponents" : true }, "h5" : { - "appid" : "h5-suishoupai", + "appid" : "h5-suishijiang", "devServer" : { "port" : 8080, "proxy" : { "/ws" : { - "target" : "https://apis.map.qq.com/", + "target" : "https://apis.map.qq.com", "changeOrigin" : true }, - "/h5-suishoupai" : { + "/h5-suishijiang" : { "target" : "https://lantu.ytyanhuo.com", "changeOrigin" : true, "pathRewrite" : { - "^/h5-suishoupai" : "" + "^/h5-suishijiang" : "" } }, + "https://lantu.ytyanhuo.com" : { + "target" : "https://lantu.ytyanhuo.com", + "changeOrigin" : true + }, "/" : { "target" : "https://lantu.ytyanhuo.com/api", "changeOrigin" : true, @@ -84,13 +88,15 @@ }, "sdkConfigs" : { "maps" : { - "qqmap" : { - "key" : "VIWBZ-FESWO-GLJW6-SNV7Q-KINM6-JLB3A" + "amap" : { + "key" : "829866898ed9c5be703e184d7b461f71", + "securityJsCode" : "38d39b0cebf383b88a2a531684973dc1", + "serviceHost" : "" } } }, "router" : { - "base" : "/h5-suishoupai/" + "base" : "/h5-suishijiang/" } }, "mp-baidu" : { diff --git a/yt_suishoupai/pages/index/index.vue b/yt_suishoupai/pages/index/index.vue index b7d020a..cbe1a89 100644 --- a/yt_suishoupai/pages/index/index.vue +++ b/yt_suishoupai/pages/index/index.vue @@ -459,7 +459,7 @@ export default { confirmText: "确定", success: (result) => { if (result.confirm) { - this.getLocation(); + _this.getLocation(); } }, });