12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <form-item
- className="{{ className }}"
- position="{{ position }}"
- label="{{ label }}"
- labelWidth="{{ labelWidth }}"
- status="{{ formData.status }}"
- errors="{{ formData.errors }}"
- tooltip="{{ tooltip }}"
- required="{{ formData.required }}"
- requiredMark="{{ requiredMark }}"
- validateStatus="{{ validateStatus }}"
- help="{{ help }}">
- <image-upload
- ref="handleRef"
- defaultFileList="{{ formData.value }}"
- maxCount="{{ maxCount }}"
- imageMode="{{ imageMode }}"
- sourceType="{{ sourceType }}"
- onChange="onChange"
- onUpload="{{ handleUpload ? handleUpload : 'handleUpload' }}"
- onRemove="{{ handleRemove ? handleRemove : 'handleRemove' }}"
- onPreview="onPreview"
- onBeforeUpload="{{ handleBeforeUpload ? handleBeforeUpload : 'handleBeforeUpload' }}"
- onChooseImageError="onChooseImageError" />
- <view
- a:if="{{ !tooltip }}"
- slot="tooltip">
- <slot name="tooltip" />
- </view>
- <view slot="extra">
- <slot name="extra">{{ extra }}</slot>
- </view>
- <view
- slot="header"
- slot-scope="item">
- <slot
- name="header"
- errors="{{ item.errors }}"
- status="{{ item.status }}" />
- </view>
- <view
- slot="footer"
- slot-scope="item">
- <slot
- name="footer"
- errors="{{ item.errors }}"
- status="{{ item.status }}" />
- </view>
- </form-item>
|