微调
This commit is contained in:
@@ -480,10 +480,17 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
// })
|
||||
|
||||
watch(activeIndex, function (newValue, oldValue) {
|
||||
if (newValue <= activeTotalNum.value - 2) {
|
||||
if(props.onlyWave === true)
|
||||
{
|
||||
if(newValue == 2){
|
||||
collapseActiveName.value = '4'
|
||||
}else{
|
||||
collapseActiveName.value = (newValue + 1).toString()
|
||||
}
|
||||
console.log("onlyWave2222",collapseActiveName.value)
|
||||
} else
|
||||
{
|
||||
collapseActiveName.value = (newValue + 1).toString()
|
||||
} else {
|
||||
collapseActiveName.value = (activeTotalNum.value - 1).toString()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user