Skip to content

Commit

Permalink
fix: 解决 picker 组件设置 start 属性后导致部分日期无法选择的问题 fixed dcloudio#404
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed May 29, 2019
1 parent 73ade6e commit 4f977d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/h5/components/app/popup/picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default {
return val[0] * 60 + val[1]
},
_getDateValue (val) {
return val[0] * 366 + (val[1] || 0 * 31) + (val[2] || 0)
return val[0] * 366 + (val[1] || 0) * 31 + (val[2] || 0)
},
/**
* 将右侧数组值同步到左侧(交集部分)
Expand Down

0 comments on commit 4f977d5

Please sign in to comment.