Karsa 2 years ago
parent
commit
ac85333a9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/hzyb/chart/Detail.vue

+ 1 - 1
src/views/hzyb/chart/Detail.vue

@@ -766,7 +766,7 @@ const setSeasonOpt=(data)=>{
                     align: 'high',
                     rotation: 0,
                     y: -15,
-                    offset: -(10 * item.Unit.length),
+                    offset: -(10 * data.Unit.length),
                 },
                 max: Number(data.MaxData),
                 min: Number(data.MinData),