提交 41791627 编写于 作者: D DCloud_LXH

chore: picker-view

上级 f719e3ec
......@@ -13,6 +13,7 @@ import {
onMounted,
ComponentPublicInstance,
nextTick,
Comment,
} from 'vue'
import { defineBuiltInComponent } from '../../helpers/component'
import { flatVNode } from '../../helpers/flatVNode'
......@@ -113,7 +114,7 @@ export default /*#__PURE__*/ defineBuiltInComponent({
return Array.prototype.indexOf.call(columnVNodes, vnode.el)
} else {
columnVNodes = (columnVNodes as VNode[]).filter(
(ref) => typeof ref.type !== 'symbol'
(vnode) => vnode.type !== Comment
)
}
let index: number = (columnVNodes as VNode[]).indexOf(vnode)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册