Element UI version
2.13.1
OS/Browsers version
windos10 / chrome 80.0.3987.132 safari/537.36
Vue version
2.6.11
Reproduction Link
https://codepen.io/eeeeeemiya/pen/JjYWYpR
Steps to reproduce
点击第一个有默认值的date-picker, 会发现弹出的下拉框中没有显示默认值;
点击popper中的任意选项开后就会默认值显示出来了
What is Expected?
在下拉框出现后,可以正常显示默认值
What is actually happening?
在下拉框出现后,不会显示默认值,需要关闭后重新打开或点击选项后才会出现默认值
2条答案
按热度按时间xzlaal3s1#
Translation of this issue:
Element UI version
2.13.1
OS/Browsers version
windos10 / chrome 80.0.3987.132 safari/537.36
Vue version
2.6.11
Reproduction Link
https://codepen.io/eeeeeemiya/pen/JjYWYpR
Steps to reproduce
Click the first date picker with a default value, and you will find that the default value is not displayed in the pop-up drop-down box;
Click any option in Popper and the default value will be displayed
What is Expected?
After the drop-down box appears, the default value can be displayed normally
What is actually happening?
After the drop-down box appears, the default value will not be displayed. You need to turn it off and turn it back on or click the option before the default value appears
0vvn1miw2#
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.