mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Calendar): scroll to current month after reset
This commit is contained in:
parent
79d2c344f9
commit
407b7ded43
@ -147,6 +147,7 @@ export default createComponent({
|
||||
// @exposed-api
|
||||
reset() {
|
||||
this.currentDate = this.getInitialDate();
|
||||
this.scrollIntoView();
|
||||
},
|
||||
|
||||
initRect() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user