The [Bug Report] DatePicker date selector appears BUG
Element UI version
1.4.12
OS/Browsers version
win7/chrome61
Vue version
2.5.13
Reproduction Link
Steps to reproduce
今天是31号, 发现DatePicker 日期选择器的BUG,,首次打开日期 DatePicker 日期选择器,切换到2017年,选择四月或者六月(30天的月份),组件会往前递增一个月,显示五月和七月,,,,选31天的月份,比如三月,,,就不会出现问题;该问题需在31号才会出现;;
What is Expected?
选择哪月,便返回正确的月份
What is actually happening?
今天是31号, 发现DatePicker 日期选择器的BUG,,,,首次打开日期 DatePicker 日期选择器,切换到2017年,选择四月或者六月(30天的月份),组件会往前递增一个月,显示五月和七月,,,,选31天的月份,比如三月,,,就不会出现问题;; 开始以为是我项目中版本太老,后来在Element的官方文档中操作最新版,也发现一样的问题,,确定这是个BUG; 猜测是处理31号的时候出现了 问题;官网链接:http://element.eleme.io/#/zh-CN/component/date-picker; 必须是首次,且是31号才能复现
Translation of this issue:
Element UI version
1.4.12
OS/Browsers version
Win7/chrome61
Vue version
2.5.13
Reproduction Link
Steps to reproduce
Today is 31, DatePicker date selector BUG, DatePicker, date date selector switch to open for the first time, 2017, April or June (30 days), the component will increase ahead a month, May, and July, and selected 31 days of the month, for example, in March, will not. The problem; the problem should appear on the 31 only;;
What is Expected?
Choose the month, and return to the right month
What is actually happening?
Today is 31, DatePicker date selector BUG, DatePicker, and the date of the date selector switch to open for the first time, 2017, April or June (30 days), the component will increase ahead a month, May, and July, and selected 31 days of the month, for example, in March,,, there won't be a problem;;
I began to think that the version of my project was too old, and then the latest version of the official document in Element, and the same problem, was found to be a BUG; Guessing is that there is a problem when dealing with No. 31; official website link: http://element.eleme.io/#/zh-CN/component/date-picker; must be the first time, and it is number 31 in order to reappear.

先贴张复现的动图备忘。待修复。
我等会看下吧。我记得这个问题2.0的时候修过了。
https://github.com/ElemeFE/element/pull/9577 DEMO: https://jsfiddle.net/6akyvdds/
2.0的时候修了「左右箭头」导航,没修「月份label」导航 (逃
换到天数较少的月份时,内部状态是目标月的最后一天(这样键盘左右键操作的时候行为比较科学)