Commit b36ac61e authored by 赵啸非's avatar 赵啸非

首页统计刷新日期修改

parent d78c479a
...@@ -194,10 +194,12 @@ export default { ...@@ -194,10 +194,12 @@ export default {
created() { created() {
let today = new Date(); let today = new Date();
console.log("year:",today.getFullYear())
let query = { let query = {
year: today.getYear, year: today.getFullYear(),
month: today.getMonth, month: today.getMonth()+1,
day: today.getDay, day: today.getDate(),
}; };
//查询今日设备统计 //查询今日设备统计
this.loading = true; this.loading = true;
......
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