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

安装埋点插件

上级 f2d9e3e8
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"nuxt": "^2.0.0", "nuxt": "^2.0.0",
"v-charts": "^1.19.0", "v-charts": "^1.19.0",
"vant": "^2.2.13", "vant": "^2.2.13",
"web-buried-point": "^2.1.0",
"vconsole": "^3.3.4" "vconsole": "^3.3.4"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -3,15 +3,15 @@ import rocNative from '@/utils/jsbridge' ...@@ -3,15 +3,15 @@ import rocNative from '@/utils/jsbridge'
import echarts from 'echarts' import echarts from 'echarts'
import { Toast } from 'vant'; import { Toast } from 'vant';
import { BASE_URL } from '@/utils/enumerate'; 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, {
// 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;
Vue.use(Toast); Vue.use(Toast);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册