mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(Calendar): should expose scrollToDate method (#7983)
This commit is contained in:
@@ -511,7 +511,11 @@ export default createComponent({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
useExpose({ reset });
|
useExpose({
|
||||||
|
reset,
|
||||||
|
scrollToDate,
|
||||||
|
});
|
||||||
|
|
||||||
onMountedOrActivated(init);
|
onMountedOrActivated(init);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
Reference in New Issue
Block a user