mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
fix(Tabs): failed to set active tab #7717
This commit is contained in:
@@ -362,7 +362,7 @@ export default createComponent({
|
||||
() => props.active,
|
||||
(value) => {
|
||||
if (value !== currentName.value) {
|
||||
setCurrentIndexByName(name);
|
||||
setCurrentIndexByName(value);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user