fix NavBar test cases

This commit is contained in:
陈嘉涵 2018-11-26 14:44:09 +08:00
parent b1c54b9cf9
commit 0ffaa7bf3d
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
exports[`renders demo correctly 1`] = `
<div>
<div>
<div class="van-hairline--bottom van-nav-bar" style="z-index:1;">
<div class="van-nav-bar van-hairline--bottom" style="z-index:1;">
<div class="van-nav-bar__left">
<i class="van-icon van-icon-arrow van-nav-bar__arrow" style="color:undefined;font-size:undefined;">
<!---->
@ -13,7 +13,7 @@ exports[`renders demo correctly 1`] = `
</div>
</div>
<div>
<div class="van-hairline--bottom van-nav-bar" style="z-index:1;">
<div class="van-nav-bar van-hairline--bottom" style="z-index:1;">
<div class="van-nav-bar__left">
<i class="van-icon van-icon-arrow van-nav-bar__arrow" style="color:undefined;font-size:undefined;">
<!---->

View File

@ -54,7 +54,7 @@ export default {
| right-text | 右侧文案 | `String` | `''` | - |
| left-arrow | 是否显示左侧箭头 | `Boolean` | `false` | - |
| fixed | 是否固定在顶部 | `Boolean` | `false` | - |
| border | 是否显示下边框 | `Boolean` | `true` | 1.4.7 |
| border | 是否显示下边框 | `Boolean` | `true` | 1.4.6 |
| z-index | 元素 z-index | `Number` | `1` | - |
### Slot