feat(Stepper): add new prop async-change @rex-zsd (#2318)

This commit is contained in:
rex
2018-12-17 22:31:32 +08:00
committed by neverland
parent 7375fb0078
commit 569c1c6063
5 changed files with 48 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ exports[`renders demo correctly 1`] = `
<div>
<div class="van-stepper"><button class="van-stepper__minus van-stepper__minus--disabled"></button> <input type="number" disabled="disabled" value="1" class="van-stepper__input"> <button class="van-stepper__plus van-stepper__plus--disabled"></button></div>
</div>
<div>
<div class="van-stepper"><button class="van-stepper__minus"></button> <input type="number" value="10" class="van-stepper__input"> <button class="van-stepper__plus"></button></div>
</div>
<div>
<div class="van-stepper"><button class="van-stepper__minus"></button> <input type="number" value="9" class="van-stepper__input"> <button class="van-stepper__plus"></button></div>
</div>