單選列表組件,可自動展示一個radio的列表。
> 該組件支持v-model。
## 屬性
| 參數 | 說明 | 類型 | 可選值 | 默認值
| --- | --- | --- | --- | ---
| init-data | 初始化選項數組 | Array | | 數據格式:value:選擇值,text:顯示文本
| api | 點擊后請求的api地址 | string | | 同init-data
| api-method | 請求方法 | string | get,post,put,delete | post
| api-param | 請求參數 | object | |
| value/v-model | 設置或者獲取當前選中值 | String | |
| add-data | 在獲取數據前段插入選項 | Array | | 同init-data
| append-data | 在數據末尾插入選項 | Array | | 同init-data
| text-prop | 備選項目中顯示文本的屬性 | string | | text
| value-prop | 備選項目中選擇值的屬性 | string | | value
| button-style | 是否顯示為按鈕形式 | Boolean | | false
## 事件
| 事件 | 說明 | 參數
| --- | --- | ---
| changed | 選擇發生后的觸發事件 |
## 插槽
| 插槽名 | 說明
| --- | ---
| default | 在第一的位置添加radio。
- 序言
- 安裝
- 組件查詢
- buttons
- WdApiButton
- WdDrawerButton
- WdRefreshButton
- WdRouteButton
- WdConfirmButton
- datagrid
- WdDatagrid
- WdGridDeleteButton
- WdGridEnableButton
- editgrid
- WdEditgrid
- WdEditgridCell
- element
- WdCard
- WdCollapse
- WdDrawerIframe
- WdIframe
- WdLabel
- WdSplitLabel
- WdDetail
- WdToolBar
- WdRepeater
- WdApiManager
- form
- WdDataForm
- WdSelect
- WdRadioList
- WdCheckboxList
- WdUploadImage
- search
- WdSearchCheckbox
- WdSearchDatepick
- WdSearchForm
- WdSearchInput
- WdSearchRadio
- WdSearchSelect
- tree
- WdTree
- 內置服務
- ajax服務
- 消息服務
- 框架方法
- tab操作
- 其他
- demo說明