[bugfix] ActionSheet: slot content should above cancel-text (#1438)

This commit is contained in:
neverland 2019-03-21 15:12:19 +08:00 committed by GitHub
parent 5984383dc8
commit ca4d460489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@
<van-loading wx:else size="20px" /> <van-loading wx:else size="20px" />
</button> </button>
</view> </view>
<slot />
<view <view
wx:if="{{ cancelText }}" wx:if="{{ cancelText }}"
class="van-action-sheet__cancel" class="van-action-sheet__cancel"
@ -45,5 +46,4 @@
> >
{{ cancelText }} {{ cancelText }}
</view> </view>
<slot />
</van-popup> </van-popup>