From 57ca8f40c4a33e7c1de314e6b24635e1fd53eafb Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 11 Jul 2025 11:56:17 +0800
Subject: [PATCH] 资金密码
---
src/views/cryptos/PerpetualContract/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/cryptos/PerpetualContract/index.vue b/src/views/cryptos/PerpetualContract/index.vue
index 86f95b1..c8faae1 100644
--- a/src/views/cryptos/PerpetualContract/index.vue
+++ b/src/views/cryptos/PerpetualContract/index.vue
@@ -489,11 +489,11 @@
})
},
handleQoutes(data) {
- // console.log('handleQoutes: ', data);
+ console.log('handleQoutes: ', data);
if (data && data.length) {
const cur = data[0]
this.price = cur.close
- this.range = cur.changeRatioStr + ''
+ this.range = (cur.change_ratio_str || cur.changeRatioStr)
this.quote = cur
this.updateKey++
}
--
Gitblit v1.9.3