...
|
...
|
@@ -126,6 +126,10 @@ export default { |
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
if (!this.channelList.list || !this.channelList.list.length) {
|
|
|
this.fetchChannelList();
|
|
|
}
|
|
|
this.init();
|
|
|
this.PAGE_URL = window.location.href;
|
|
|
// 首页进入上报
|
|
|
this.$store.dispatch('reportYas', {
|
...
|
...
|
@@ -134,10 +138,6 @@ export default { |
|
|
appop: 'XY_UFO_MAIN_START'
|
|
|
}
|
|
|
});
|
|
|
if (!this.channelList.list || !this.channelList.list.length) {
|
|
|
this.fetchChannelList();
|
|
|
}
|
|
|
this.init();
|
|
|
},
|
|
|
async serverPrefetch() {
|
|
|
return this.fetchChannelList();
|
...
|
...
|
@@ -200,7 +200,7 @@ export default { |
|
|
},
|
|
|
reportYas(scrollY) {
|
|
|
this.getReportEle(scrollY)
|
|
|
console.log(this.homeYasParams)
|
|
|
// console.log(this.homeYasParams)
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
param: this.homeYasParams,
|
...
|
...
|
|