Commit 1335609a authored by guoyou's avatar guoyou

日历修改

parent 61503057
......@@ -514,9 +514,10 @@ export default {
this.formatDate(now.getFullYear(), now.getMonth(), 1)
)
d.setDate(35)
date = new Date(
this.formatDate(d.getFullYear(), d.getMonth() + 1, 1)
)
console.log(d);
date = new Date()
// date = new Date(this.formatDate(d.getFullYear(), d.getMonth() + 1, 1))
}
this.currentDay = date.getDate()
this.currentYear = date.getFullYear()
......
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