fix(dialog): fixed extra lines without button (#5141)

This commit is contained in:
landluck 2022-12-14 10:25:02 +08:00 committed by GitHub
parent 76522a173f
commit 91a12bbaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@
</van-goods-action-button>
</van-goods-action>
<view wx:else class="van-hairline--top van-dialog__footer">
<view wx:elif="{{ showCancelButton || showConfirmButton }}" class="van-hairline--top van-dialog__footer">
<van-button
wx:if="{{ showCancelButton }}"
size="large"