[bugfix] Tabbar: z-index not work (#474)

This commit is contained in:
neverland 2018-08-29 15:51:10 +08:00 committed by GitHub
parent 853a2681af
commit e11bc516a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<view
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
style="{{ zIndex ? 'style: ' + this.zIndex : '' }}"
style="{{ zIndex ? 'z-index: ' + zIndex : '' }}"
>
<slot />
</view>

View File

@ -1,6 +1,6 @@
<view
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
style="{{ zIndex ? 'style: ' + this.zIndex : '' }}"
style="{{ zIndex ? 'z-index: ' + zIndex : '' }}"
>
<slot />
</view>