Commit c277d327 authored by Facius's avatar Facius

埋点

parent bf1bfd6e
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
handleShare(item) { handleShare(item) {
// 分享资料事件 // 分享资料事件
getApp().track('share_document', { getApp().track('share_document', {
id: self.vuex_user.id, id: this.vuex_user.id,
url: item.url url: item.url
}); });
uni.showLoading({ uni.showLoading({
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
handlePreview(item) { handlePreview(item) {
// 查看资料事件 // 查看资料事件
getApp().track('preview_document', { getApp().track('preview_document', {
id: self.vuex_user.id, id: this.vuex_user.id,
url: item.url url: item.url
}); });
uni.showLoading({ uni.showLoading({
......
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