fix: BUG修改

This commit is contained in:
kun 2024-01-24 16:48:59 +08:00
parent 2adeecce85
commit 9b098983ed

View File

@ -170,7 +170,6 @@ export default {
methods: {
deletePlayer(index) {
this.videoList.splice(index, 1);
this.changeShowType(this.showType);
},
selectFn(index) {
this.winIndex = index;
@ -186,11 +185,9 @@ export default {
console.log(itemVal);
if (this.showType == 1) {
this.videoList = [item];
this.changeShowType(this.showType);
}
if (!itemVal && this.showType != 1) {
this.videoList.push(item);
this.changeShowType(this.showType);
}
console.log("右边的值", this.videoList);
},