From 3252eb2d24b8c2ff7490d842227466bb8b6e0014 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 12 Aug 2024 18:36:20 +0800
Subject: [PATCH] 问题处理

---
 src/components/kline-charts/index.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/components/kline-charts/index.vue b/src/components/kline-charts/index.vue
index 443aca0..a008bc1 100644
--- a/src/components/kline-charts/index.vue
+++ b/src/components/kline-charts/index.vue
@@ -22,7 +22,17 @@
 </template>
 <script>
 import { init, dispose } from 'klinecharts'
+// import KLineChart  from 'klinecharts'
+// const chart = new KLineChart(document.getElementById('kline'));
+
+// chart.setOptions({
+//   interaction: {
+//     // 禁用手势的恢复功能
+//     restore: false,
+//   }
+// });
 let chart = null
+
 import { _getKline } from '@/API/trade.api'
 import config from './config'
 import { Loading } from 'vant';
@@ -158,7 +168,7 @@
           chart.applyNewData(data);
           this.$emit('updataLine', false)
         })
-      }, 1000);
+      }, 10000);
     },
     setChartType() {
       let type = 'area'

--
Gitblit v1.9.3