mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Tabs): recompute marker position when v-model changes (#524)
This commit is contained in:
committed by
Benjamin Canac
parent
7e2bebd3ef
commit
fdce429b3e
@@ -131,6 +131,7 @@ export default defineComponent({
|
||||
|
||||
watch(() => props.modelValue, (value) => {
|
||||
selectedIndex.value = value
|
||||
calcMarkerSize(value)
|
||||
})
|
||||
|
||||
onMounted(() => calcMarkerSize(selectedIndex.value))
|
||||
|
||||
Reference in New Issue
Block a user