|
@@ -253,7 +253,9 @@ export default {
|
|
|
this.isRebuild ? "isRebuild" : ""
|
|
|
}`;
|
|
|
this.playId = playNextId;
|
|
|
- // console.log('playNextId:', this.playNextId, 'playId:', this.playId);
|
|
|
+ if(this.playSectionId == this.newId){
|
|
|
+ this.$store.commit("updatePlayNextId", playNextId);
|
|
|
+ }
|
|
|
uni.$off("playNext" + playNextId); //绑定前先移除之前的事件
|
|
|
uni.$once("playNext" + playNextId, async (data) => {
|
|
|
//到时会触发每个节的监听事件,只允许当前节的接收
|
|
@@ -446,8 +448,8 @@ export default {
|
|
|
if (this.$method.isGoLogin()) {
|
|
|
return;
|
|
|
}
|
|
|
- if(this.menuItem.id==this.playSectionId){
|
|
|
- return
|
|
|
+ if (this.menuItem.id == this.playSectionId) {
|
|
|
+ return;
|
|
|
}
|
|
|
this.clickLock = true;
|
|
|
if (this.learningOrder == 2 && !this.menuItem.isRebuild && !this.isLive) {
|