From 5c97e09c340a30504673736eddaf21e426243b98 Mon Sep 17 00:00:00 2001
From: vee <897831508@qq.com>
Date: Mon, 19 Sep 2022 16:27:50 +0800
Subject: [PATCH] =?UTF-8?q?k=E7=BA=BF=E6=97=B6=E5=8C=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/kline/kline.vue | 4 ++--
components/kline/props.js | 2 +-
pages/markets/kLine.vue | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/kline/kline.vue b/components/kline/kline.vue
index 181171e..a490698 100644
--- a/components/kline/kline.vue
+++ b/components/kline/kline.vue
@@ -20,7 +20,7 @@
+ :change:symbol="KlineJs.setSymbol" :language="lang" :change:language="KlineJs.changlanguage" :index_activeCycle="index_activeCycle" :change:index_activeCycle="KlineJs.changindex_activeCycle">
@@ -132,7 +132,7 @@
this.initChart(index_activeCycle)
},
changlanguage(language){
- this.language=language
+ chartConfig.locale=language
}
,
initChart(index_activeCycle) {
diff --git a/components/kline/props.js b/components/kline/props.js
index 7043678..30fb91e 100644
--- a/components/kline/props.js
+++ b/components/kline/props.js
@@ -14,7 +14,7 @@ export default {
type: String,
default: ''
},
- language: {
+ lang: {
type: String,
default: ''
},
diff --git a/pages/markets/kLine.vue b/pages/markets/kLine.vue
index 7b1e943..7ca52e8 100644
--- a/pages/markets/kLine.vue
+++ b/pages/markets/kLine.vue
@@ -35,7 +35,7 @@
-
+