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

埋点进行调整

上级 af0974d3
...@@ -41,7 +41,9 @@ export default { ...@@ -41,7 +41,9 @@ export default {
} }
}, },
mounted() { mounted() {
this.$sendBuriedData && this.$sendBuriedData({
component_tag: `467`
});
}, },
methods: { methods: {
......
...@@ -6,11 +6,11 @@ import { BASE_URL } from '@/utils/enumerate'; ...@@ -6,11 +6,11 @@ import { BASE_URL } from '@/utils/enumerate';
import WebBuriedPoint, { sendBuriedData } from 'web-buried-point'; import WebBuriedPoint, { sendBuriedData } from 'web-buried-point';
const { NUXT_ENV_APP } = process.env; const { NUXT_ENV_APP } = process.env;
Vue.use(WebBuriedPoint, { // Vue.use(WebBuriedPoint, {
// component_tag: `467`, // // component_tag: `467`,
class_name: `learning_report`, // class_name: `learning_report`,
url: `${BASE_URL[NUXT_ENV_APP]}/file/log/trace1` // url: `${BASE_URL[NUXT_ENV_APP]}/file/log/trace1`
}); // });
Vue.prototype.$sendBuriedData = sendBuriedData; Vue.prototype.$sendBuriedData = sendBuriedData;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册