去除url改变友盟统计

This commit is contained in:
lcc
2025-09-10 13:48:54 +08:00
parent 4befb7833b
commit 88c709b1aa
+7 -7
View File
@@ -26,12 +26,12 @@ const router = createRouter({ history: createWebHistory(), routes })
// 路由跳转后发送PV统计
router.afterEach(() => {
// 检查全局的aplus_queue是否存在
if (window.aplus_queue) {
// 使用提供的PV发送事件,按要求传递参数
window.aplus_queue.push({
action: 'aplus.sendPV',
arguments: [{ is_auto: false }] // 按文档要求传递固定格式参数
})
}
// if (window.aplus_queue) {
// // 使用提供的PV发送事件,按要求传递参数
// window.aplus_queue.push({
// action: 'aplus.sendPV',
// arguments: [{ is_auto: false }] // 按文档要求传递固定格式参数
// })
// }
})
export default router