Merge branch 'next' of https://gitee.com/layui/layui-vue into next
This commit is contained in:
commit
bfdf86010e
@ -541,6 +541,11 @@ const handleFocusout = () => {
|
|||||||
hide();
|
hide();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleContextHide = () => {
|
||||||
|
hide();
|
||||||
|
dropdownCtx?.hide();
|
||||||
|
}
|
||||||
|
|
||||||
const addChildRef = (ref: any) => {
|
const addChildRef = (ref: any) => {
|
||||||
childrenRefs.add(ref);
|
childrenRefs.add(ref);
|
||||||
dropdownCtx?.addChildRef(ref);
|
dropdownCtx?.addChildRef(ref);
|
||||||
@ -648,7 +653,7 @@ provide(
|
|||||||
onMouseleave: handleMouseLeaveWithContext,
|
onMouseleave: handleMouseLeaveWithContext,
|
||||||
addChildRef,
|
addChildRef,
|
||||||
removeChildRef,
|
removeChildRef,
|
||||||
hide,
|
hide: handleContextHide,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user