Commit 9b142178 by liang ce

修改时间组件

parent 9aa5618e
......@@ -121,7 +121,7 @@ create.Page({
let count = this.getMonthLength(year, month, day);
let timeDay = [];
for (let i = 1; i <= count; i++) {
let week = weekList[new Date(year,month,day).getDay()]
let week = weekList[new Date(year,month,i).getDay()]
timeDay.push(`${i}${week}`)
}
let isBeOverdue;
......
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