docs: update numeric type
This commit is contained in:
@@ -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* | - |
|
||||
|
||||
|
||||
@@ -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* | - |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user