no message
This commit is contained in:
parent
380dde983a
commit
70f4c35039
4
dist/index.html
vendored
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
@ -30,10 +30,10 @@
|
||||
<div style="display:none;">
|
||||
<!-- <script type="text/javascript" src="//v1.cnzz.com/z_stat.php?id=1281224882&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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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()
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user