mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Calendar): should expose scrollToDate method (#7983)
This commit is contained in:
parent
3133d0d0ee
commit
9e18c0ec4b
@ -511,7 +511,11 @@ export default createComponent({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
useExpose({ reset });
|
useExpose({
|
||||||
|
reset,
|
||||||
|
scrollToDate,
|
||||||
|
});
|
||||||
|
|
||||||
onMountedOrActivated(init);
|
onMountedOrActivated(init);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user