mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(dialog): remove blank before title (#3069)
This commit is contained in:
parent
942ea6b635
commit
c53ce239c2
@ -16,7 +16,7 @@
|
||||
class="van-dialog__header {{ message || useSlot ? '' : 'van-dialog--isolated' }}"
|
||||
>
|
||||
<slot wx:if="{{ useTitleSlot }}" name="title" />
|
||||
<block wx:elif="{{ title }}"> {{ title }}</block>
|
||||
<block wx:elif="{{ title }}">{{ title }}</block>
|
||||
</view>
|
||||
|
||||
<slot wx:if="{{ useSlot }}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user