123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <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 }}">
- <view>
- <ant-radio-group
- options="{{ options }}"
- value="{{ formData.value }}"
- onChange="onChange"
- color="{{ color }}"
- disabled="{{ disabled }}"
- position="{{ radioPosition }}">
- <slot
- name="radioLabel"
- slot="label"
- slot-scope="props"
- value="{{props.value}}"
- index="{{props.index}}" />
- </ant-radio-group>
- </view>
- <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>
|