no message

This commit is contained in:
A1300399510
2024-12-03 17:44:22 +08:00
parent 380dde983a
commit 70f4c35039
5 changed files with 10 additions and 11 deletions

View File

@@ -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

View File

@@ -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()
})