Skip to content

Commit

Permalink
fix: 修复最小时间字符串模板错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmaniu authored and BeiQiaoT committed Apr 3, 2022
1 parent 7030885 commit 762e5d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
value = this.minDate
} else if (!isDateMode && !value) {
// 如果是时间类型,而又没有默认值的话,就用最小时间
value = `${uni.$u.padZero(this.minHour)}:uni.$u.padZero(this.minMinute)}`
value = `${uni.$u.padZero(this.minHour)}:${uni.$u.padZero(this.minMinute)}`
}
// 时间类型
if (!isDateMode) {
Expand Down

0 comments on commit 762e5d7

Please sign in to comment.