EDITOR.vue.ftl 1.0 KB
<#if editor?? && editor.render??> 
    ${editor.render.code}
<#else>
<app-file-upload
  :limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
  :accept="'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'"
  :formState="formState"
  :ignorefieldvaluechange="ignorefieldvaluechange"
  @formitemvaluechange="onFormItemValueChange"
  :data="JSON.stringify(this.data)"
  name='${editor.name}'
  :value="data.${editor.name}"
  :disabled="detailsModel.${editor.name}.disabled"
  :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
  :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
  :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'
  style="${editor.getEditorCssStyle()}overflow: auto;">
</app-file-upload>
</#if>