Commit e4e40ee1 authored by 肖健's avatar 肖健

集成友盟统计

parent 3dff4007
......@@ -16,6 +16,18 @@ Vue.prototype.http = http
Vue.prototype.$http = $http
Vue.prototype.$goToLocation = goToLocation
import uma from "umtrack-wx";
uma.init({
appKey: "63aea6cad64e6861390a5766",
useOpenid: true,
autoGetOpenid: false,
debug: true,
});
uma.install = function (Vue) {
Vue.prototype.$uma = uma;
};
Vue.use(uma);
// 订阅消息模板id
Vue.prototype.nc_templateid = '59-hfHg3CnDvgVEnjqxiHRFwpABehc5lZxHQeUctlrg'
App.mpType = 'app'
......
......@@ -11,6 +11,7 @@
"全端"
],
"dependencies": {
"crypto-js": "^4.1.1"
"crypto-js": "^4.1.1",
"umtrack-wx": "^2.8.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment