From f8e9af35a267b7b9a2bf605187a11536889a6e38 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 20 May 2024 11:00:10 +0800
Subject: [PATCH] 修改:绑定银行卡 多语言

---
 src/page/kline/components/kLine.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/page/kline/components/kLine.vue b/src/page/kline/components/kLine.vue
index 13d6477..4e0db31 100644
--- a/src/page/kline/components/kLine.vue
+++ b/src/page/kline/components/kLine.vue
@@ -67,6 +67,8 @@
 </template>
 
 <script>
+import * as echarts from "echarts";
+
 import _ from "lodash";
 import HQChart from "hqchart";
 import "hqchart/src/jscommon/umychart.resource/css/tools.css";
@@ -961,7 +963,7 @@
 DefaultData.GetKLinePeriodMenu = function () {
   var data = [
     // { Name: i18n.t('hj86'), ID: 3 },分时额外处理
-    { Name: i18n.t("hj86"), ID: 4 },
+    // { Name: i18n.t("hj86"), ID: 4 },
     { Name: i18n.t("hj87"), ID: 0 },
     { Name: i18n.t("hj88"), ID: 1 },
     { Name: i18n.t("hj89"), ID: 2 },
@@ -995,7 +997,7 @@
       MinuteDayMenu: DefaultData.GetMinuteDayMenu(),
       MinuteDayIndex: 0,
       KLinePeriodMenu: DefaultData.GetKLinePeriodMenu(),
-      KLinePeriodIndex: 1,
+      KLinePeriodIndex: 0,
       KLineRightMenu: DefaultData.GetKLineRightMenu(),
       KLineRightIndex: 0,
       IsShowRightMenu: true,
@@ -1014,6 +1016,7 @@
       VolChartHeight: 10,
       chartType: "kline",
       isShow: false,
+      xData: [],
     };
   },
   created() {
@@ -1037,7 +1040,7 @@
     this.OnSize();
     this.SetChartStyle();
     this.$nextTick(() => {
-      this.CreateMinuteChart();
+      // this.CreateMinuteChart();
       this.CreateKLineChart();
     });
     let that = this;
@@ -1175,11 +1178,10 @@
       item,
       type // K线周期
     ) {
-      // if (index !== 0) {  //分时额外处理才注释的
+      //分时额外处理才注释的
       this.chartType = type;
       this.KLinePeriodIndex = index;
       this.KLineChart.ChangePeriod(item.ID);
-      // }
     },
 
     OnClickKLineRightMenu(

--
Gitblit v1.9.3