Skip to content

Commit 2bd78e2

Browse files
howietangTidyzq
authored andcommitted
fixed: 修复half-screen-dialog组件中,描述内容slot判断条件有误的问题(根据title属性进行判断),修正为desc属性
1 parent 5f2f0a3 commit 2bd78e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/half-screen-dialog/half-screen-dialog.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</view>
2020
</view>
2121
<view class="weui-half-screen-dialog__bd">
22-
<block wx:if="{{title}}">
22+
<block wx:if="{{desc}}">
2323
<view class="weui-half-screen-dialog__desc">{{desc}}</view>
2424
<view class="weui-half-screen-dialog__tips">{{tips}}</view>
2525
</block>

0 commit comments

Comments
 (0)