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
+2 -2
View File
@@ -60,8 +60,8 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| show | Whether to show overlay | *boolean* | `false` |
| z-index | z-index | *string \| number* | `1` |
| duration | Animation duration | *string \| number* | `0.3` |
| z-index | z-index | *number \| string* | `1` |
| duration | Animation duration | *number \| string* | `0.3` |
| class-name | ClassName | *string* | - |
| custom-class `v2.2.5` | Custom style | *object* | - |
+2 -2
View File
@@ -66,8 +66,8 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| show | 是否展示遮罩层 | *boolean* | `false` |
| z-index | z-index 层级 | *string \| number* | `1` |
| duration | 动画时长,单位秒 | *string \| number* | `0.3` |
| z-index | z-index 层级 | *number \| string* | `1` |
| duration | 动画时长,单位秒 | *number \| string* | `0.3` |
| class-name | 自定义类名 | *string* | - |
| custom-style `v2.2.5` | 自定义样式 | *object* | - |