Revert "修改统计代码一个#号"
This reverts commit 3224c25fc471cacaf48332430aabb01fba37afa0.
This commit is contained in:
parent
3224c25fc4
commit
e15708fe5a
@ -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"
|
||||
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user