docs: update numeric type

This commit is contained in:
陈嘉涵
2020-01-29 10:11:09 +08:00
parent 36ba412f70
commit c6f424baa7
85 changed files with 197 additions and 197 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| name `v2.0.4` | Identifier of SwipeCell | *string \| number* | - |
| name `v2.0.4` | Identifier of SwipeCell | *number \| string* | - |
| before-close `v2.3.0` | Callback function before close | *Function* | - |
| disabled | Whether to disabled swipe | *boolean* | `false` |
| left-width | Width of the left swipe area | *number* | `auto` |
+1 -1
View File
@@ -110,7 +110,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| name `v2.0.4` | 标识符,可以在事件参数中获取到 | *string \| number* | - |
| name `v2.0.4` | 标识符,可以在事件参数中获取到 | *number \| string* | - |
| before-close `v2.3.0` | 关闭前的回调函数 | *Function* | - |
| disabled | 是否禁用滑动 | *boolean* | `false` |
| left-width | 指定左侧滑动区域宽度 | *number* | `auto` |