Open soandsoprogrammer opened 4 years ago
是 vModel..
是 vModel..
不是这个原因, v-model是可以用的 vue-cli是支持的。 最后排查出来是 el-form 标签需要加一个oninput事件,估计是源码中哪里用到了这个。但我不知道随便绑定个事件会有什么后果
是 vModel..
不是这个原因, v-model是可以用的 vue-cli是支持的。 最后排查出来是 el-form 标签需要加一个oninput事件,估计是源码中哪里用到了这个。但我不知道随便绑定个事件会有什么后果
解决了没
{..props:{}}
render(h){
return(
<div class="zysoft-table-select-meet-frame">
<el-form ref="tableForm"
class="zysoft-form-serch"
{...{props: {
model: this.formModel,////vue jsx element 表单校验的model不可以直接写 以这种方式解决
inline: this.inline,
labelPosition:this.labelPosition,
disabled: this.isDisabled,
labelWidth: this.labelWidth,
size: this.size
} } }
>
<el-row gutter={20}>
{ this.generateCode() }
{ this.$slots.select }
</el-row>
</el-form>
</div>
)
}
``
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.