Browse Source

子卡片曲线图 index属性错误

zhaomiao 4 years ago
parent
commit
c0991cda21
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/windStationCardDetail/WindStationCardDetail.vue

+ 3 - 3
components/windStationCardDetail/WindStationCardDetail.vue

@@ -463,7 +463,7 @@
 							format: val => {
 							format: val => {
 								return val + 'kwh';
 								return val + 'kwh';
 							},
 							},
-							index: 0,
+							index: 1,
 							legendShape: 'circle'
 							legendShape: 'circle'
 						},
 						},
 						{
 						{
@@ -477,7 +477,7 @@
 							format: val => {
 							format: val => {
 								return val + 'm/s';
 								return val + 'm/s';
 							},
 							},
-							index: 1,
+							index: 0,
 							legendShape: 'circle'
 							legendShape: 'circle'
 						},
 						},
 						{
 						{
@@ -491,7 +491,7 @@
 							format: val => {
 							format: val => {
 								return val + 'kwh';
 								return val + 'kwh';
 							},
 							},
-							index: 0,
+							index: 1,
 							legendShape: 'circle'
 							legendShape: 'circle'
 						},
 						},
 						{
 						{