Commit b0363e4b by xiexiaoqin

fix: 选时间组件5分钟间隔改成15分钟

parent 38a853c0
...@@ -12,7 +12,7 @@ function padZero(val) { ...@@ -12,7 +12,7 @@ function padZero(val) {
// 生成分钟 每隔五分钟 // 生成分钟 每隔五分钟
function generateMin(max) { function generateMin(max) {
const time = []; const time = [];
for (let i = 0; i < max; i += 5) { for (let i = 0; i < max; i += 15) {
time.push(padZero(i)) time.push(padZero(i))
} }
return time; return time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment