Commit 6e73cfc1 authored by 潘自豪's avatar 潘自豪

营业额明显页面修改

parent ab029187
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
}, },
setCurrentDateTime(){ setCurrentDateTime(){
let now = new Date(); let now = new Date();
this.currentDate = now.getFullYear() + "-" + now.getMonth() + "-" + now.getDate(); this.currentDate = now.getFullYear() + "-" + (now.getMonth()+1) + "-" + now.getDate();
this.currentTime = now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds(); this.currentTime = now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds();
this.currentWeek = this.week[now.getDay()]; this.currentWeek = this.week[now.getDay()];
}, },
......
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