Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-10-29 22:03:29 +08:00
7 changed files with 81 additions and 13 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ export default createComponent({
watch(
() => children.length,
() => {
setCurrentIndexByName(currentName.value || props.active);
setCurrentIndexByName(props.active || currentName.value);
setLine();
nextTick(() => {
scrollIntoView(true);