fix(Calendar): should expose scrollToDate method (#7983)

This commit is contained in:
neverland
2021-01-25 11:56:05 +08:00
committed by GitHub
parent 3133d0d0ee
commit 9e18c0ec4b

View File

@@ -511,7 +511,11 @@ export default createComponent({
}
);
useExpose({ reset });
useExpose({
reset,
scrollToDate,
});
onMountedOrActivated(init);
return () => {