Skip to content

Commit 3c15af0

Browse files
authored
fix(navbar): Fix invalid fixed attribute of Navbar component (#1982)
1 parent 6457944 commit 3c15af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/navbar/navbar.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<wxs src="../common/utils.wxs" module="_" />
22
<view
3-
class="{{_.cls(classPrefix, ['fixed', fixed])}} {{visibleClass}} class {{prefix}}-class"
3+
class="{{_.cls(classPrefix, [['fixed', fixed]])}} {{visibleClass}} class {{prefix}}-class"
44
style="{{_._style([boxStyle, style, customStyle])}}"
55
>
66
<view wx:if="{{fixed}}" class="{{classPrefix}}__placeholder" />

0 commit comments

Comments
 (0)