zzzz
2024-04-21 eca81058f2f0e26593532f714d9f840a5ebdf1ad
src/page/trading/buy.vue
@@ -432,7 +432,7 @@
      let opts = {
        stockId: this.code,
        buyNum: this.num,
        lever: this.selectCycle ? this.selectCycle : 0,
        lever: 1,
        targetPrice: this.nums,
      };
      if (this.tabsCurrentIndex == 0) {
@@ -490,7 +490,7 @@
        // 买入是买涨buyType:0, 卖出是买跌buyType:1,卖出的状态是0,买入的状态是1
        buyNum: this.num, // 单位为手
        // buyNum: (this.num.match(/\d+/g))[0] * 100, // 单位为手
        lever: this.selectCycle ? this.selectCycle : 0,
        lever: 1,
      };
      if (this.tabsCurrentIndex == 0) {
        opts.buyType = 1;