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