Authored by yyq

enter report

... ... @@ -63,6 +63,8 @@ export default {
this.$sdk.goLogin();
});
}
this.reportEnter();
},
methods: {
...mapMutations(['SET_STATUS_BAR_COLOR', 'SET_STATUS_BAR_STATUS']),
... ... @@ -81,6 +83,21 @@ export default {
this.fpsTick++;
this.frameCallback();
});
},
reportEnter() {
const route = this.$route;
this.$store.dispatch('reportYas', {
params: {
appop: 'YB_PAGE_ENTER',
param: {
PAGE_ID: route.name,
TYPE_ID: route.params.id || route.params.topicId,
SOURCE_ID: '',
PAGE_NEW_CREATE: 'Y'
}
}
});
}
},
watch: {
... ...
... ... @@ -122,7 +122,7 @@ router.onReady(() => {
SOURCE_ID: from.name,
PAGE_NEW_CREATE: !!find(get(store, 'state.yoho.historys'), history => {
return history.path === to.path;
})
}) ? 'Y' : 'N'
}
}
});
... ...