提交 71f23d16 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 更新文件上传编辑器接收参数

上级 373a0e66
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
name='${editor.name}' name='${editor.name}'
:value="data.${editor.name}" :value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
:defaultSize='<#if editor.getEditorParam('defaultSize','') != ''>${editor.getEditorParam('defaultSize','')}<#else>10</#if>'
:whiteList='<#if editor.getEditorParam('whiteList','') != ''>${editor.getEditorParam('whiteList','')}<#else>""</#if>'
:uploadDescription='<#if editor.getEditorParam('uploadDescription','') != ''>${editor.getEditorParam('uploadDescription','')}<#else>""</#if>'
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>" :ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
......
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
name='${editor.name}' name='${editor.name}'
:value="data.${editor.name}" :value="data.${editor.name}"
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
:defaultSize='<#if editor.getEditorParam('defaultSize','') != ''>${editor.getEditorParam('defaultSize','')}<#else>10</#if>'
:whiteList='<#if editor.getEditorParam('whiteList','') != ''>${editor.getEditorParam('whiteList','')}<#else>""</#if>'
:uploadDescription='<#if editor.getEditorParam('uploadDescription','') != ''>${editor.getEditorParam('uploadDescription','')}<#else>""</#if>'
:ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>" :ownerid="<#if item.getEditorParam("ownerid",'') != ''>'${item.getEditorParam("ownerid",'')}'<#else>data.srfkey</#if>"
:uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'
:exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册