去除url改变友盟统计
This commit is contained in:
+7
-7
@@ -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
|
||||
Reference in New Issue
Block a user