修改驾驶舱能源日期
This commit is contained in:
		@@ -246,9 +246,7 @@ export default {
 | 
			
		||||
						.map((_, index) => {
 | 
			
		||||
							const today = new Date();
 | 
			
		||||
							const dtimestamp = today - (index+1) * 24 * 60 * 60 * 1000;
 | 
			
		||||
							return `${currentMonth < 10?'0'+currentMonth:currentMonth }.${new Date(
 | 
			
		||||
								dtimestamp
 | 
			
		||||
							).getDate()}`;}).reverse()
 | 
			
		||||
							return `${new Date(dtimestamp).getMonth()+1}.${new Date(dtimestamp).getDate()}`;}).reverse()
 | 
			
		||||
			}else if (this.chartTime == "月") {
 | 
			
		||||
				if (currentMonth in [1, 3, 5, 7, 8, 10, 12]) {
 | 
			
		||||
					days = 31;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user