提交 8d492c89 编写于 作者: RedPig97's avatar RedPig97

update:修复时间编辑器this指向异常

上级 8f9c0ae5
<#if editor?? && editor.render??> <#if editor?? && editor.render??>
${editor.render.code} ${editor.render.code}
<#else> <#else>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" <#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if> :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px;${editor.getEditorCssStyle()} <#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { this.data.${editor.name} = val1 }"></date-picker> <date-picker type="date" :transfer="true" format="yyyy-MM-dd" <#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if> :value="data.${editor.name}" :disabled="detailsModel.${editor.name}.disabled" style="min-width: 150px;${editor.getEditorCssStyle()} <#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>" @on-change="(val1, val2) => { data.${editor.name} = val1 }"></date-picker>
</#if> </#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册