| | |
| | | if (type === "open" || type === "long" || type === "short" || !type) { |
| | | let initFunTimer = null; |
| | | let initFun = () => { |
| | | _initOpen(symbol) |
| | | _initOpen(symbol.toLowerCase()) |
| | | .then((data) => { |
| | | this.initOpen = data; |
| | | clearTimeout(initFunTimer); |
| | |
| | | return; |
| | | } |
| | | if (this.userInfo.token) { |
| | | // debugger |
| | | symbol = '' |
| | | _orderListHold(symbol).then((data) => { |
| | | // this.orderHold = data |
| | | this.orderHold = data.sort(this.sortData); |
| | | }); |
| | | this.timer = setInterval(() => { |
| | | // console.log('112233',symbol); |
| | | _orderListHold(symbol).then((data) => { |
| | | // if (typeof this.timer === 'string') { |
| | | // this.timer = null |