Commit 582dc94c authored by 高铭波's avatar 高铭波

文件资料分享查看埋点

parent cf66069b
...@@ -135,6 +135,11 @@ ...@@ -135,6 +135,11 @@
}, },
// 分享 // 分享
handleShare(item) { handleShare(item) {
// 分享资料事件
getApp().track('share_document', {
id: self.vuex_user.id,
url: item.url
});
uni.showLoading({ uni.showLoading({
title: '加载中' title: '加载中'
}) })
...@@ -155,6 +160,11 @@ ...@@ -155,6 +160,11 @@
}, },
// 查看 // 查看
handlePreview(item) { handlePreview(item) {
// 查看资料事件
getApp().track('preview_document', {
id: self.vuex_user.id,
url: item.url
});
uni.showLoading({ uni.showLoading({
title: '加载中' title: '加载中'
}) })
......
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