Commit 5cc31762 by 杨北旺

添加路由监听事件以及页面标题回调

1 parent 9b63ced1
...@@ -178,6 +178,7 @@ kit.buildData = function (trackParam) { ...@@ -178,6 +178,7 @@ kit.buildData = function (trackParam) {
Object.assign(data,temp) Object.assign(data,temp)
} else { } else {
temp.create_time = util.dateFormat(new Date()) temp.create_time = util.dateFormat(new Date())
temp.pageUrl = window.location.href
data.exta = JSON.stringify(temp) data.exta = JSON.stringify(temp)
} }
Object.assign(data, commonData) Object.assign(data, commonData)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!