element
element copied to clipboard
el-form-item的prop属性在resetField方法中的问题
Element UI version
1.4.11
Vue version
2.5.2
Reproduction Link
http://jsbin.com/suhufegele/edit?html,output
What is actually happening?
在链接的html部分标注出了
<!-- 当注释掉这个else之后,切换 T1 T2报错 -->
<div v-else></div>
What is Expected?
可以正常重置
之后在2.06版本中也发现了这个问题, 疑问: 当把没有prop属性的el-form-item放在v-if的判断外事,切换就正常了..
Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.