Open JingGeGe77 opened 4 years ago
遇到同样问题
遇到同样问题
2020年7月份的bug到现在都不解决吗。。。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I don't know if anybody still facing the same issue , but I had the same one, for my case the issue was : when I init the datapicker , and the format was different from value-format
<el-date-picker
v-model="value"
type="date"
placeholder="Pick a day"
format="dd/MM/yyyy"
value-format="yyyy-MM-dd"
:editable="false"
....
>
</el-date-picker>
So I had to use the format 'yyyy-MM-dd' for value
Element UI version
2.13.2
OS/Browsers version
win10/Google Chrome 已是最新版本 版本 84.0.4147.105(正式版本) (64 位
Vue version
2.6.10
Reproduction Link
https://codepen.io/jinggege77/pen/mdVYvaB?editors=1000
Steps to reproduce
使用value-format="yyyy 第 WW 周",显示value1的值,控制台报错 [Vue warn]: Error in render: "TypeError: e.getMonth is not a function" found in
---> at packages/date-picker/src/picker.vue