git 6 years ago
parent
commit
8d468299c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/tongji/tongji.js

+ 1 - 1
pages/tongji/tongji.js

@@ -22,7 +22,7 @@
 			for(let i = 0;i < 5; ++i){
 				var time = new Date(new Date() - 24*60*60*1000*i);
 				var date = time.Format("yy-MM-dd");
-				xData.push(date);
+				xData.unshift(date);
 			}
 			// var option = {};
 			// option.tooltip = {