<AppUpload
    v-bind="{{CustomParams 'editor' editor}}"
{{#if editor.editorParams}}
    {{#if editor.editorParams.method}}
    method="{{editor.editorParams.method}}"
    {{/if}}
    {{#if editor.editorParams.showUploadList}}
    :showUploadList="{{editor.editorParams.showUploadList}}"
    {{/if}}
    {{#if editor.editorParams.fallback}}
    fallback="{{editor.editorParams.fallback}}"
    {{/if}}
    {{#if editor.editorParams.rowPreview}}
    :rowPreview="{{editor.editorParams.rowPreview}}"
    {{/if}}
    {{#if editor.editorParams.uploadparams}}
    :uploadparams="{{editor.editorParams.uploadparams}}"
    {{/if}}
    {{#if editor.editorParams.exportparams}}
    :exportparams="{{editor.editorParams.exportparams}}"
    {{/if}}
    {{#if editor.editorParams.isdrop}}
    :isdrop="{{editor.editorParams.isdrop}}"
    {{/if}}
    {{#if editor.editorParams.imageOnly}}
    :imageOnly="{{editor.editorParams.imageOnly}}"
    {{/if}}
    {{#if editor.editorParams.pdfOnly}}
    :pdfOnly="{{editor.editorParams.pdfOnly}}"
    {{/if}}
    {{#if editor.editorParams.tooltip}}
    tooltip="{{editor.editorParams.tooltip}}"
    {{/if}}
    {{#if editor.editorParams.maxSize}}
    :maxSize="{{editor.editorParams.maxSize}}"
    {{/if}}
    {{#if editor.editorParams.fileTypes}}
    :fileTypes="{{editor.editorParams.fileTypes}}"
    {{/if}}
{{/if}}
{{#if (or (eq editor.editorType "PICTURE") (eq editor.editorType 'PICTURE_ONE'))}}
    listType="picture-card"
    accept='image/*'
    {{#eq editor.editorType 'PICTURE_ONE'}}
    :multiple='false'
    :maxCount="1"
    {{/eq}}
    {{#eq editor.editorType 'PICTURE'}}
    {{#if editor.editorParams}}
    {{#if editor.editorParams.multiple}}
    :multiple="{{editor.editorParams.multiple}}"
    {{/if}}
    {{#if editor.editorParams.limit}}
    :maxCount="{{editor.editorParams.limit}}"
    {{/if}}
    {{/if}}
    {{/eq}}
{{/if}}
{{#eq editor.editorType 'FILEUPLOADER_ONE'}}
    :multiple='false'
    :maxCount="1"
{{/eq}}
{{#eq  editor.editorType 'FILEUPLOADER'}}
{{#if editor.editorParams}}
    {{#if editor.editorParams.multiple}}
    :multiple="{{editor.editorParams.multiple}}"
    {{/if}}
    {{#if editor.editorParams.limit}}
    :maxCount="{{editor.editorParams.limit}}"
    {{/if}}
    {{#if editor.editorParams.accept}}
    :accept="{{editor.editorParams.accept}}"
    {{/if}}
    {{/if}}
{{/eq}}
{{#if editor.readOnly}}
    :readonly="{{editor.readOnly}}"
{{/if}}
    style="{{#if editor.editorWidth}}width: {{editor.editorWidth}}px;{{/if}}{{#if editor.editorHeight}}height: {{editor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'grid'}}
    name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
    :data="record"
    {{#if (eq item.enableCond 0)}}
    :disabled="true"
    {{else if (eq item.enableCond 1)}}
    :disabled="!Object.is(record.srfuf,0)"
    {{else if (eq item.enableCond 2)}}
    :disabled="!Object.is(record.srfuf,1)"
    {{/if}}
    :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{editor.name}}{{/if}}"
    @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
{{#eq ctrlType 'panel'}}
    name="{{item.name}}"
    :data="store.layoutData"
    {{#if isMultiData}}
    :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
    :value="store.layoutData[`{{item.name}}_${data.index}`]"
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
    {{else}}
    :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
    :value="store.layoutData.{{item.name}}"
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
    {{/if}}
{{/eq}}
{{#eq ctrlType 'form'}}
    name="{{item.codeName}}"
    :disabled="store.detailModel.{{item.codeName}}.disabled"
    {{!-- 适配表单重复器 --}}
    {{#if repeaterMode}}
    :data="data"
    :value="data.{{editor.name}}"
    {{else}}
    :data="store.data"
    :value="store.data.{{editor.name}}"
    {{/if}}
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'gridColumnFilter'}}
    name="{{editor.name}}"
    :value="value"
    @component-action="handleComponentAction"
{{/eq}}
/>
