fix(Picker): should not submit form (#5182)

This commit is contained in:
neverland
2019-12-03 18:03:40 +08:00
committed by GitHub
parent 93df00ce85
commit 34a817612d
9 changed files with 112 additions and 71 deletions
@@ -2,7 +2,7 @@
exports[`time type 1`] = `
<div class="van-picker van-datetime-picker">
<div class="van-hairline--top-bottom van-picker__toolbar"><button class="van-picker__cancel">取消</button><button class="van-picker__confirm">确认</button></div>
<div class="van-hairline--top-bottom van-picker__toolbar"><button type="button" class="van-picker__cancel">取消</button><button type="button" class="van-picker__confirm">确认</button></div>
<!---->
<div class="van-picker__columns" style="height: 220px;">
<div class="van-picker-column">