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

4
dist/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,10 +30,10 @@
<div style="display:none;">
<!-- <script type="text/javascript" src="//v1.cnzz.com/z_stat.php?id=1281224882&amp;web_id=1281224882"></script> -->
<script>
const $baseURL = "https://ansnid.oss-cn-shenzhen.aliyuncs.com/forum"
let $baseURL = "https://ansnid.oss-cn-shenzhen.aliyuncs.com/forum"
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = $baseURL + '/js/jweixin-1.3.2.js';
script.src = '/js/jweixin-1.3.2.js';
document.head.appendChild(script);
});
</script>

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