Revert "修改统计代码一个#号"

This reverts commit 3224c25fc471cacaf48332430aabb01fba37afa0.
This commit is contained in:
A1300399510 2023-08-22 15:04:32 +08:00
parent 3224c25fc4
commit e15708fe5a
2 changed files with 4 additions and 5 deletions

View File

@ -38,13 +38,13 @@ export default {
let tab = ref("person"); // person intermediary more
// console.log("props['intermediary']", props['intermediary']);
console.log("props['intermediary']", props['intermediary']);
// if (props['intermediary'] == 1) tab.value = "intermediary"
// else tab.value = "person"
watch(() => props.intermediary, (newValue, oldValue) => {
watch(() => props.popState, (newValue, oldValue) => {
// popState
// console.log('popState', newValue, oldValue);
console.log('popState属性发生变化', newValue, oldValue);
if (newValue == 1) tab.value = "intermediary"
else tab.value = "person"

View File

@ -144,8 +144,7 @@ router.beforeEach((to, from, next) => {
if (window._hmt) {
if (to.path) {
// window._hmt.push(['_trackPageview', '/#' + to.fullPath])
window._hmt.push(['_trackPageview', to.fullPath])
window._hmt.push(['_trackPageview', '/#' + to.fullPath])
}
}