updated README

This commit is contained in:
Marvin Zhang
2019-05-30 19:18:56 +08:00
parent eb4a4ac06b
commit 6cd8d0585b
6 changed files with 39 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
import stats from './stats'
export default {
stats
}

View File

@@ -0,0 +1,8 @@
export default {
sendPv (page) {
window._hmt.push(['_trackPageview', page])
},
sendEv (ev) {
window._hmt.push(['_trackCustomEvent', ev])
}
}