重復執行組件,根據提供的數據或者api獲取到的數據進行重復執行。
## 屬性
| 參數 | 說明 | 類型 | 可選值 | 默認值
| --- | --- | --- | --- | ---
| api | 點擊后請求的api地址 | string | |
| api-method | 請求方法 | string | get,post,put,delete | post
| api-param | 請求參數 | object | |
| success-tip | 請求返回成功結果之后采用什么方式提醒 | string | none,message,alert,notify | message
| fail-tip | 請求返回失敗結果之后采用什么方式提醒 | string | none,message,alert,notify | alert
| init-data | 初始化內容 | array | |
| current-data | 當前數據,一般使用.sync修飾來讀取數據使用 | array | |
| container-tag | 指定容器的tagName | string | div,ul | div
| width-index | 是否需要使用數據索引,當需要在插槽內使用索引時開啟此項。 | boolean | | false
## 事件
| 事件 | 說明 | 參數
| --- | --- | ---
| api-after | 進行api請求后的事件 | response
## 插槽
| 插槽名 | 說明
| --- | ---
| 默認 | 該插槽有一個插槽屬性(slotProp),即數據的循環內容,操作形式:`<template v-slot="{row}"> {{ row }} </template>`,row即是重復的數據項。
- 序言
- 安裝
- 組件查詢
- 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說明