mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
parent
bea5df1541
commit
b5ab14df8d
@ -306,7 +306,7 @@ export default defineComponent({
|
||||
const children = flattenChildren(slots.default?.());
|
||||
let firstChildren = children[0];
|
||||
if (fieldName.value && props.autoLink && isValidElement(firstChildren)) {
|
||||
const originalEvents = firstChildren.props;
|
||||
const originalEvents = firstChildren.props || {};
|
||||
const originalBlur = originalEvents.onBlur;
|
||||
const originalChange = originalEvents.onChange;
|
||||
firstChildren = cloneElement(firstChildren, {
|
||||
|
2
v2-doc
2
v2-doc
@ -1 +1 @@
|
||||
Subproject commit 57c08127bf0e3e826b03f845df3e1332820964e5
|
||||
Subproject commit fc73e64bcdf41be854c2f7a907c05b056ad652ab
|
Loading…
Reference in New Issue
Block a user