Authored by ccbikai

修改事件

... ... @@ -37,7 +37,7 @@
methods: {
changeChannel(index) {
this.current = index;
bus.$emit('changeChannel', this.page, this.channel[index].channel);
bus.$emit('channel.change', this.page, this.channel[index].channel);
}
}
};
... ...
... ... @@ -94,7 +94,7 @@
},
created() {
this.getResourcesData();
bus.$on('changeChannel', (page, channel) => {
bus.$on('channel.change', (page, channel) => {
this.contentCode = contentCode[page][channel];
});
}
... ...