From 70f4c35039f14726d69fdd6863ddb558d47cc237 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Tue, 3 Dec 2024 17:44:22 +0800 Subject: [PATCH] no message --- dist/index.html | 4 ++-- ...p~d363ae0c.7111638a.js => app~d363ae0c.28ac7b4c.js} | 2 +- public/index.html | 4 ++-- src/main.js | 1 - src/router/index.js | 10 +++++----- 5 files changed, 10 insertions(+), 11 deletions(-) rename dist/js/{app~d363ae0c.7111638a.js => app~d363ae0c.28ac7b4c.js} (60%) diff --git a/dist/index.html b/dist/index.html index 7891411..b5116ca 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,7 +1,7 @@ -寄托家园留学论坛_出国留学经验分享|留学申请|留学考试|DIY留学寄托论坛
diff --git a/src/main.js b/src/main.js index 5ce03c4..f971718 100755 --- a/src/main.js +++ b/src/main.js @@ -27,7 +27,6 @@ Vue.prototype.$closeUnderLoading = closeUnderLoading // 关闭加载提示 elem Vue.prototype.$formattedDate = formattedDate // 时间戳转格式 Vue.prototype.$updateURLSearchParams = updateURLSearchParams // 不刷新的情况下修改url Vue.prototype.$clearCookies = clearCookies // 清空Cookies -console.log($baseURL, "$baseURL") Vue.prototype.$baseURL = $baseURL // 清空Cookies diff --git a/src/router/index.js b/src/router/index.js index 1133993..ff8b52b 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -139,11 +139,11 @@ router.beforeEach(async (to, from, next) => { // } } - // if (wx) { - // wx.miniProgram.postMessage({ - // data: location.href, - // }) - // } + if (wx) { + wx.miniProgram.postMessage({ + data: location.href, + }) + } next() })