mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(calendar): fix calendar reset miss default Date (#5546)
This commit is contained in:
parent
7423e18ae3
commit
f330cf2a34
@ -168,7 +168,7 @@ VantComponent({
|
||||
|
||||
methods: {
|
||||
reset() {
|
||||
this.setData({ currentDate: this.getInitialDate() });
|
||||
this.setData({ currentDate: this.getInitialDate(this.data.defaultDate) });
|
||||
this.scrollIntoView();
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user