feat(Calendar): scroll to currecnt month when default-date changed (#5664)
This commit is contained in:
@@ -133,6 +133,7 @@ export default createComponent({
|
|||||||
|
|
||||||
defaultDate(val) {
|
defaultDate(val) {
|
||||||
this.currentDate = val;
|
this.currentDate = val;
|
||||||
|
this.scrollIntoView();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user