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