perf: resolve beforeClose repeat trigger (#9283)

This commit is contained in:
jsdawn
2021-08-19 19:12:09 +08:00
committed by GitHub
parent b41ed5a130
commit c934710906
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ export default defineComponent({
}
);
useExpose({ popupRef });
useExpose({ popupRef, triggerClose });
useLockScroll(popupRef, () => props.show && props.lockScroll);