mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 23:49:14 +08:00
fix(Picker): merge issues
This commit is contained in:
parent
eb2619dc44
commit
5b6e827080
@ -67,7 +67,7 @@ export default createComponent({
|
|||||||
|
|
||||||
while (cursor && cursor.children) {
|
while (cursor && cursor.children) {
|
||||||
const { children } = cursor;
|
const { children } = cursor;
|
||||||
let defaultIndex = cursor.defaultIndex ?? +this.defaultIndex;
|
let defaultIndex = cursor.defaultIndex ?? +props.defaultIndex;
|
||||||
|
|
||||||
while (children[defaultIndex] && children[defaultIndex].disabled) {
|
while (children[defaultIndex] && children[defaultIndex].disabled) {
|
||||||
if (defaultIndex < children.length - 1) {
|
if (defaultIndex < children.length - 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user