From 013e32fd5a7fe59fbe4e41e51e3084a45718348c Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sun, 06 Jul 2025 17:57:12 +0800
Subject: [PATCH] 1
---
src/pages/newindex/components/hqchart.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/pages/newindex/components/hqchart.vue b/src/pages/newindex/components/hqchart.vue
index cc4a065..4ebc615 100644
--- a/src/pages/newindex/components/hqchart.vue
+++ b/src/pages/newindex/components/hqchart.vue
@@ -61,7 +61,7 @@
<div class="btnGroup" style="position:relative">
<div class="btn" :class="{ active: KLinePeriodIndex == index }"
v-for="(item, index) in KLinePeriodMenu" :key="item.ID"
- @click="index == 0 ? changeRightContent('minute') : OnClickKLinePeriodMenu(index, item, 'kline')">
+ @click="OnClickKLinePeriodMenu(index, item, 'kline')">
{{ item.Name }}</div>
<!-- <div class="btn" @click="isShow ? isShow = false : isShow = true">
设置
@@ -1233,11 +1233,14 @@
OnClickKLinePeriodMenu(index, item, type) //K线周期
{
- if (index != 0) {
- this.chartType = type
- this.KLinePeriodIndex = index;
- this.KLineChart.ChangePeriod(item.ID);
- }
+ // if (index != 0) {
+ // this.chartType = type
+ // this.KLinePeriodIndex = index;
+ // this.KLineChart.ChangePeriod(item.ID);
+ // }
+ this.chartType = type
+ this.KLinePeriodIndex = index;
+ this.KLineChart.ChangePeriod(item.ID);
},
OnClickKLineRightMenu(index, item) //K线复权
--
Gitblit v1.9.3