no message

This commit is contained in:
A1300399510
2024-01-04 14:11:30 +08:00
parent 8a9fae693c
commit 708029f33d
65 changed files with 506 additions and 478 deletions

24
app.vue
View File

@@ -14,18 +14,18 @@ const route = useRoute()
// 是否是 生产环境
const isProduction = import.meta.env.NODE_ENV === "production"
watchEffect(() => {
if (typeof window !== "undefined" && route.path) {
if (window._hmt) window._hmt.push(["_trackPageview", route.fullPath])
if (window._czc) {
let location = window.location
let contentUrl = location.pathname + location.hash
let refererUrl = "/"
window._czc.push(["_trackPageview", contentUrl, refererUrl])
window._czc.push(["_setAutoPageview", false])
}
}
})
// watchEffect(() => {
// if (typeof window !== "undefined" && route.path) {
// if (window._hmt) window._hmt.push(["_trackPageview", route.fullPath])
// if (window._czc) {
// let location = window.location
// let contentUrl = location.pathname + location.hash
// let refererUrl = "/"
// window._czc.push(["_trackPageview", contentUrl, refererUrl])
// window._czc.push(["_setAutoPageview", false])
// }
// }
// })
onMounted(() => {
if (!isProduction) isNeedLogin.value = false