1
jhzh
2024-08-12 f1dc8f5a7f3a661ce19513a9ad47fe18e3e883ff
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');
        }
      });
    },