fix(primevue): fix the issue that cannot correctly get the last tab item
fix(primevue): fix the issue that cannot correctly get the last tab item: a task in github-trending-environments-10k (Harbor dataset). Title: fix(primevue): fix the issue that cannot correctly get the last tab item
The task
**Title:** fix(primevue): fix the issue that cannot correctly get the last `tab` item