vue-mobile-calendar icon indicating copy to clipboard operation
vue-mobile-calendar copied to clipboard

设置defaultDate时,没有跳转到对应的月份

Open mingmLiang opened this issue 5 years ago • 1 comments

我打开选择日期的时候,是当前月份9月。而不是默认选中月份10月。感觉有点不太符合用户操作行为。image
期望打开的时候,是以下效果 image

mingmLiang avatar Sep 05 '19 10:09 mingmLiang

看了源码,初始化是在create钩子里面进行的 created() { this.init(); },

如果你的 defaultDate 是异步获取的,就可能会出现你的情况

jzsn2018 avatar Mar 02 '20 13:03 jzsn2018