EDITOR.vue.ftl 467 字节
Newer Older
1 2
<#if editor?? && editor.render??> 
    ${editor.render.code}
3
<#else>
4
 <time-picker :value="data.${editor.name}" :transfer="true" :disabled="detailsModel.${editor.name}.disabled" format="HH:mm" <#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if> style="min-width: 150px; ${editor.getEditorCssStyle()}<#if editor.getEditorParam('width','') == 'auto'>width:100%;</#if>"  @on-change="(val) => {this.data.${editor.name} = val}"></time-picker>
5
 </#if>