moonsflyer há 7 meses atrás
pai
commit
224a8c093b
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      app/count/view/count/index.html

+ 3 - 2
app/count/view/count/index.html

@@ -783,6 +783,7 @@
 			var myChartz = echarts.init(document.getElementById('fb03'));
 		var myChart2 = echarts.init(document.getElementById('echart3'));
 		var myChart6 = echarts.init(document.getElementById('echart6'));
+		var month_data = JSON.parse(document.getElementById('month_data').value);
 		//下单与退款
 		option = {
 			tooltip: {
@@ -813,7 +814,7 @@
 			},
 			xAxis: [{
 				type: 'category',
-				data: month_arr_data,
+				data: month_data,
 				axisLine: {
 					show: true,
 					lineStyle: {
@@ -922,7 +923,7 @@
 			},
 			xAxis: [{
 				type: 'category',
-				data: monthData,
+				data: month_data,
 				axisLine: {
 					show: true,
 					lineStyle: {