mirror of
https://github.com/youzan/vant.git
synced 2026-05-19 01:02:35 +08:00
feat: allow string type z-index
This commit is contained in:
@@ -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` |
|
||||
|
||||
@@ -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* | `删除` |
|
||||
|
||||
@@ -24,7 +24,7 @@ export default createComponent({
|
||||
props: {
|
||||
show: Boolean,
|
||||
title: String,
|
||||
zIndex: Number,
|
||||
zIndex: [Number, String],
|
||||
closeButtonText: String,
|
||||
deleteButtonText: String,
|
||||
theme: {
|
||||
|
||||
Reference in New Issue
Block a user