|
@@ -230,6 +230,11 @@ export default {
|
|
|
}
|
|
|
let item = this.activeObj.images[this.myInd];
|
|
|
this.resetList(item);
|
|
|
+ // 切换暂停播放视频
|
|
|
+ if (this.selectedTitle.includes("視頻") && this.$refs.videoRef?.[oldVal]) {
|
|
|
+ console.log("----oldVal", oldVal);
|
|
|
+ this.$refs.videoRef[oldVal].pause();
|
|
|
+ }
|
|
|
},
|
|
|
activeObj(newVal) {
|
|
|
this.resetList(newVal.images[this.myInd]);
|