1
jhzh
2024-09-15 402042e2ee63f1ed5b1d5d6df483270ab996e76e
src/page/perpetualContract/index.vue
@@ -378,7 +378,7 @@
      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);
@@ -445,11 +445,14 @@
        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