Open jinhuiWong opened 4 years ago
Translation of this issue:
2.13.2
chrome 81
2.6.11
https://codepen.io/jinhuiwong/pen/rNxKNGj
Choose the time and reset the form. The control is no longer available
The time period selection control is not available after the form is reset
The time period selection control is still available after the form is reset
这里主要是由于重置数据的时候,如果赋值之后的元素是数组,强制将其初始化为数组。溯源https://github.com/ElemeFE/element/pull/3840
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.
捞起
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.
Element UI version
2.13.2
OS/Browsers version
chrome 81
Vue version
2.6.11
Reproduction Link
https://codepen.io/jinhuiwong/pen/rNxKNGj
Steps to reproduce
随便选择时间,然后重置表单。这时候控件就不可用了
What is Expected?
表单重置后时间段选择控件不可用
What is actually happening?
表单重置后时间段选择控件仍然正常可用