Sfoglia il codice sorgente

master版本的eta_comp.js

hbchen 1 anno fa
parent
commit
634259c0e1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      public/eta_comp.js

+ 2 - 2
public/eta_comp.js

@@ -23667,7 +23667,7 @@ function jw() {
 function Ww({ data: r, renderId: g, lang: E = "zh", changeLangIsCheck: a, showChartTitle: y = !0, shouldUseSelfLimit: R = !1 }) {
   Pt.leftIndex = -1, Pt.rightIndex = -1, Pt.rightTwoIndex = -1, Pt.hasLeftAxis = !1, Pt.hasRightAxis = !1, Pt.hasRightTwoAxis = !1, Pt.hasXAxis = !1, Nu.value || (Pt.leftMin = 0, Pt.leftMax = 0, Pt.rightMin = 0, Pt.rightMax = 0, Pt.rightTwoMin = 0, Pt.rightTwoMax = 0, Pt.xMin = 0, Pt.xMax = 0);
   let I = {};
-  Re.value = E, nh.value = g, He.value = r, ci = R, [1, 11].includes(r.ChartInfo.Source) ? I = {
+  Re.value = E, nh.value = g, He.value = r, ci = R, r.ChartInfo.Source === 1 ? I = {
     1: Ap,
     2: Fw,
     3: sh,
@@ -23935,7 +23935,7 @@ function Ap(r) {
       nameZh: C,
       nameEn: b,
       color: u.ChartColor,
-      lineWidth: Number(u.ChartWidth) || $ && $.lineOptions.lineWidth || 1,
+      lineWidth: Number(u.ChartWidth),
       visible: !0,
       LatestDate: u.LatestDate,
       LatestValue: u.LatestValue,