Commit 0fdfc0b4 by Caiyijun

Merge remote-tracking branch 'remotes/origin/mutou' into dev_yijun

parents f504fa90 324dc31c
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
}, },
// 计算格式化结束日期 // 计算格式化结束日期
calcDate() { calcDate() {
const endDate = new Date(this.startTimeStamp * 1000 + (86400000 * this.partakeDayList[this.partakeDayIndex].days)); const endDate = new Date(this.startTimeStamp * 1000 + (86400000 * (this.partakeDayList[this.partakeDayIndex].days - 1)));
this.endTime = (endDate.getMonth() + 1) + '月' + endDate.getDate() + '日'; this.endTime = (endDate.getMonth() + 1) + '月' + endDate.getDate() + '日';
}, },
// 返回上一页 // 返回上一页
......
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