feat: allow string type z-index

This commit is contained in:
陈嘉涵
2020-01-28 21:34:16 +08:00
parent 9dcf57c65f
commit 8a679079fb
18 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ Use `title` prop to set keyboard title
| title | Keyboard title | *string* | - |
| maxlength `v2.0.2` | Value maxlength | *string \| number* | - |
| transition | Whether to show transition animation | *boolean* | `true` |
| z-index | Keyboard z-index | *number* | `100` |
| z-index | Keyboard z-index | *string \| number* | `100` |
| extra-key | Content of bottom left key | *string* | `''` |
| close-button-text | Close button text | *string* | `-` |
| delete-button-text | Delete button text | *string* | `delete` |
+1 -1
View File
@@ -147,7 +147,7 @@ export default {
| title | 键盘标题 | *string* | - |
| maxlength `v2.0.2` | 输入值最大长度 | *string \| number* | - |
| transition | 是否开启过场动画 | *boolean* | `true` |
| z-index | 键盘 z-index | *number* | `100` |
| z-index | 键盘 z-index | *string \| number* | `100` |
| extra-key | 左下角按键内容 | *string* | `''` |
| close-button-text | 关闭按钮文字,空则不展示 | *string* | `-` |
| delete-button-text | 删除按钮文字 | *string* | `删除` |
+1 -1
View File
@@ -24,7 +24,7 @@ export default createComponent({
props: {
show: Boolean,
title: String,
zIndex: Number,
zIndex: [Number, String],
closeButtonText: String,
deleteButtonText: String,
theme: {