PANELEDITOR.vue.ftl 841 字节
Newer Older
1
<#if item.render??>
2 3
    ${item.render.code}
<#else>
tony001's avatar
tony001 committed
4 5 6 7 8 9 10 11 12 13 14 15
<app-file-upload 
  :formState="viewState" 
  :ignorefieldvaluechange="false" 
  @formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}" 
  :data="JSON.stringify(data)" 
  :name='${editor.name?lower_case}' 
  :value="data.${editor.name?lower_case}" 
<#if item.getEnableCond??>
  :disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" 
</#if>
  :rowPreview="true"
  :imageOnly="true"
16 17
  :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
  style="${editor.getEditorCssStyle()}overflow: auto;">
18 19
</app-file-upload>
</#if>