|
@@ -4,11 +4,18 @@
|
|
|
|:-:|:-:|:-:|:-:|:-:|
|
|
|
|title|String|`-`|否|card的标题|
|
|
|
|needFilter|Boolean|true|否|是否使用搜索框|
|
|
|
-|filter|Array|[]|否|搜索框的数组|
|
|
|
+|filter|Array|[]|否|搜索框的数组,见filter内容|
|
|
|
|needPag|Boolean|true|否|是否使用分页|
|
|
|
|total|Number|0|否|数据总数,分页使用|
|
|
|
|needAdd|Boolean|true|否|是否使用添加按钮|
|
|
|
|returns|any|null|否|返回按钮指向的位置|
|
|
|
+>##### filter内容
|
|
|
+|参数|类型|默认值|是否必填|说明|
|
|
|
+|:-:|:-:|:-:|:-:|:-:|
|
|
|
+|label|String|`-`|否|搜索的内容提示|
|
|
|
+|model|String|`-`|是|字段名|
|
|
|
+|type|String|`input`|否|搜索的模式,默认输入,可选:select 选择|
|
|
|
+
|
|
|
#### slot
|
|
|
|插槽名|说明|
|
|
|
|:-:|:-:|
|