Commit b9df6dd9 by liuyang

优化驾驶舱显示和默认日期

parent 63381967
......@@ -240,7 +240,7 @@
this.onSetInterval()
},
getYesterdayDateFormatted() {
this.dataPicker = dayjs().format("YYYYMMDD");
this.dataPicker = dayjs().subtract(1, 'day').format("YYYYMMDD");
},
getRoleFactory(){
let _this = this;
......
......@@ -437,7 +437,7 @@
return {
title: {
left: 'left',
text: '设备故障次数/分钟',
text: '设备故障时长/分钟',
textStyle: {
color: '#ffffff' // 设置标题字体颜色为白色
}
......@@ -559,7 +559,7 @@
this.lineOption2 ={
title: {
left: 'left',
text: '设备故障次数/分钟',
text: '设备故障时长/分钟',
textStyle: {
color: '#ffffff' // 设置标题字体颜色为白色
}
......
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