This commit is contained in:
zhangsir
2024-06-25 23:00:17 +08:00
parent 2cfa2e7202
commit b973ebccc5
2 changed files with 9 additions and 4 deletions

View File

@@ -131,6 +131,7 @@
} else {
this.indexs.push(index);
}
console.log(this.indexs,'this.indexs')
this.posiData = this.indexs.map(index => this.startList[index]);
},
downList(){
@@ -143,6 +144,10 @@
} else {
this.bandIndexs.push(index);
}
if(this.bandIndexs.length == 0){
return
}
console.log(this.bandIndexs,'this.bandIndexs')
this.bandItem = this.bandIndexs.map(index => this.bandLists[index])
this.bandItem = this.bandItem.sort((a, b) => parseInt(a.bandId, 10) - parseInt(b.bandId, 10));
this.bandFirst = this.bandItem[0].bandCode