Created
January 6, 2020 05:21
-
-
Save feifeiwuxian/e796124128e89cdc16b72b8fb66bf815 to your computer and use it in GitHub Desktop.
app.json使用"style": "v2"配置后弹窗组件的button大小不对
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wxml: | |
<van-dialog | |
use-slot | |
title="标题" | |
show="{{ show }}" | |
show-cancel-button | |
confirm-button-open-type="getUserInfo" | |
bind:close="onClose" | |
bind:getuserinfo="getUserInfo" | |
> | |
<image src="https://img.yzcdn.cn/vant/apple-3.jpg" /> | |
</van-dialog> | |
js: | |
showPopup() { | |
this.setData({ show: true }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment