浏览代码

子卡片曲线图 index属性错误

zhaomiao 4 年之前
父节点
当前提交
c0991cda21
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      components/windStationCardDetail/WindStationCardDetail.vue

+ 3 - 3
components/windStationCardDetail/WindStationCardDetail.vue

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