提交 12316a15 编写于 作者: guangjun.yang's avatar guangjun.yang

埋点问题

上级 a3a67622
...@@ -33,10 +33,13 @@ export default { ...@@ -33,10 +33,13 @@ export default {
methods: { methods: {
back() { back() {
if( this.backType == 1) { if( this.backType == 1) {
console.log('#####this.backType');
this.$sendBuriedData({ this.$sendBuriedData({
component_tag: `560#560001${this.backBDText}` component_tag: `560#560001${this.backBDText}`
}); });
this.$router.back(-1); // setTimeout( () => {
// this.$router.back(-1);
// }, 100);
} else { } else {
this.$sendBuriedData({ this.$sendBuriedData({
component_tag: '559#559001' component_tag: '559#559001'
......
...@@ -107,7 +107,7 @@ if (process.env.BUILD_ENV === 'pro') { ...@@ -107,7 +107,7 @@ if (process.env.BUILD_ENV === 'pro') {
} }
Vue.use(BuriedPoint, { Vue.use(BuriedPoint, {
class_name: 'web_app_professional_exam', class_name: 'web_app_annual_summary',
url: `${domain}/file/log/trace1` url: `${domain}/file/log/trace1`
}); });
Vue.prototype.$sendBuriedData = sendBuriedData; Vue.prototype.$sendBuriedData = sendBuriedData;
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
// 全局埋点--对外埋点 // 全局埋点--对外埋点
this.$sendBuriedData({ this.$sendBuriedData({
action: "ACTION_WEB_ENTER", action: "ACTION_WEB_ENTER",
component_tag: `559#0#${this.channel}` component_tag: `559#0#${this.from}`
}); });
}, },
methods: { methods: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册