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
@@ -59,7 +59,7 @@ export default {
| left-arrow | Whether to show left arrow | *boolean* | `false` |
| fixed | Whether to fixed top | *boolean* | `false` |
| border | Whether to show bottom border | *boolean* | `true` |
| z-index | Z-index | *number* | `1` |
| z-index | Z-index | *string \| number* | `1` |
### Slots
+1 -1
View File
@@ -61,7 +61,7 @@ export default {
| left-arrow | 是否显示左侧箭头 | *boolean* | `false` |
| fixed | 是否固定在顶部 | *boolean* | `false` |
| border | 是否显示下边框 | *boolean* | `true` |
| z-index | 元素 z-index | *number* | `1` |
| z-index | 元素 z-index | *string \| number* | `1` |
### Slots
+1 -1
View File
@@ -82,7 +82,7 @@ function NavBar(
NavBar.props = {
title: String,
fixed: Boolean,
zIndex: Number,
zIndex: [Number, String],
leftText: String,
rightText: String,
leftArrow: Boolean,