From f1dc8f5a7f3a661ce19513a9ad47fe18e3e883ff Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 12 Aug 2024 11:47:14 +0800
Subject: [PATCH] 1
---
src/components/constract/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/constract/index.vue b/src/components/constract/index.vue
index c9f26f5..35a1cb8 100644
--- a/src/components/constract/index.vue
+++ b/src/components/constract/index.vue
@@ -1087,11 +1087,11 @@
// 获取行情数据,用于币种数据展示和币种的弹窗
getRealTimeData(val, search) {
// console.log('获取行情数据,用于币种数据展示和币种的弹窗',val)
- Axios.getRealtime({ symbol: 'btc,plcl,eth,bnb,ada,omg,xtz,sol,' +
- 'xrp,doge,avax,link,ltc,algo,bch,luna,uni,icp,etc,fil,xlm' +
- ',atom,matic,theta,trx,ftt,bsv,eos,dai,comp,saga,prcl,tnsl' }).then((res) => {
+ const symbol = 'wld,wdc,btc,eth,xtz,ada,yfii,mln,yfi,dai,etc,xrp,ltc,usdc,knc,doge,vet,shib,qtum,icp'
+ Axios.getRealtime({ symbol,order: 'desc' }).then((res) => {
if (res.code == "0") {
var data = res.data;
+ // console.log(data);
// console.log(this.$route.params.id,'this.$route.params.id')
var filtersVal = data.filter(
(val) => val.symbol == this.$route.params.id
@@ -1156,6 +1156,8 @@
this.orderListAsc("amount", "ask")
);
}
+
+ // console.log(this.allListData,'this.allListData');
}
});
},
--
Gitblit v1.9.3