From 0dbc7465447164fef24327b5d494870832d798dd Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Tue, 26 May 2026 11:15:18 +0800
Subject: [PATCH] 1
---
src/views/cryptos/PerpetualContract/index.vue | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/src/views/cryptos/PerpetualContract/index.vue b/src/views/cryptos/PerpetualContract/index.vue
index 8d0cf65..a56b5b5 100644
--- a/src/views/cryptos/PerpetualContract/index.vue
+++ b/src/views/cryptos/PerpetualContract/index.vue
@@ -360,11 +360,6 @@
this.type = this.$route.query.type
}
await this.SET_COIN_LIST(this.type)
- // _getBalance().then(data => { // 获取用户余额
- // this.$store.commit('user/SET_USERINFO', { balance: data.money })
- // // const { money } = data
- // // this.balance = money
- // })
if (this.userInfo.token) {
this.getBalance()
this.timerMoeny = setInterval(() => {
@@ -616,10 +611,6 @@
type: 'orders',
page_no: 1
}).then(data => {
- // if (typeof this.timer === 'string') {
- // this.timer = null
- // return
- // }
this.orderCur = data
})
}, 1000)
@@ -639,10 +630,6 @@
})
this.timer = setInterval(() => {
contractOrder(obj).then(data => {
- // if (typeof this.timer === 'string') {
- // this.timer = null
- // return
- // }
// this.orderHold = data
this.orderHold = data.sort(this.sortData);
})
@@ -657,10 +644,6 @@
})
this.timer = setInterval(() => {
_futrueOrderList(symbol, 'orders', 1, 'cryptos').then(data => {
- // if (typeof this.timer === 'string') {
- // this.timer = null
- // return
- // }
// this.futrueHold = data
this.futrueHold = data.sort(this.sortData);
})
--
Gitblit v1.9.3