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