fix(Stepper): incorrect minus/plus slots (#4427)

This commit is contained in:
neverland 2021-08-25 10:05:09 +08:00 committed by GitHub
parent d7ae323c14
commit cb3018b26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
bind:touchstart="onTouchStart" bind:touchstart="onTouchStart"
bind:touchend="onTouchEnd" bind:touchend="onTouchEnd"
> >
<slot name="plus" /> <slot name="minus" />
</view> </view>
<input <input
type="{{ integer ? 'number' : 'digit' }}" type="{{ integer ? 'number' : 'digit' }}"
@ -37,6 +37,6 @@
bind:touchstart="onTouchStart" bind:touchstart="onTouchStart"
bind:touchend="onTouchEnd" bind:touchend="onTouchEnd"
> >
<slot name="minus" /> <slot name="plus" />
</view> </view>
</view> </view>