|
@@ -59,7 +59,7 @@ const tabList: Tabbar[] = [
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
const onChange = (index: number) => {
|
|
const onChange = (index: number) => {
|
|
|
- if (index !== 2) {
|
|
|
|
|
|
|
+ if (![1, 2].includes(index)) {
|
|
|
componentId.value = tabList[index].name
|
|
componentId.value = tabList[index].name
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|