Skip to content

Commit

Permalink
fix: 添加依赖 (#304)
Browse files Browse the repository at this point in the history
* fix: 添加依赖
  • Loading branch information
hqwlkj authored Jul 29, 2022
1 parent 0661229 commit e309bb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/vantui/src/nav-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export function NavBar(props: NavBarProps) {
safeAreaInsetTop,
height: 50,
}) +
'; ' +
style,
]);
}, [zIndex, statusBarHeight, safeAreaInsetTop])
'; ' +
style,
])
}, [zIndex, statusBarHeight, safeAreaInsetTop, style])

return (
<>
{fixed && placeholder && (<View style={getNavBarStyle}></View>)}
{fixed && placeholder && <View style={getNavBarStyle}></View>}
<View
className={
utils.bem('nav-bar', {
Expand Down

0 comments on commit e309bb0

Please sign in to comment.