Merge branch 'next' of https://gitee.com/layui/layui-vue into next

This commit is contained in:
就眠儀式 2022-09-11 20:10:38 +08:00
commit bfdf86010e

View File

@ -541,6 +541,11 @@ const handleFocusout = () => {
hide();
};
const handleContextHide = () => {
hide();
dropdownCtx?.hide();
}
const addChildRef = (ref: any) => {
childrenRefs.add(ref);
dropdownCtx?.addChildRef(ref);
@ -648,7 +653,7 @@ provide(
onMouseleave: handleMouseLeaveWithContext,
addChildRef,
removeChildRef,
hide,
hide: handleContextHide,
})
);