Browse Source

修改进行设置止盈止损后点击会出现设置好的止盈止损

master
liaoxinyu 3 weeks ago
parent
commit
83f12e4f1e
  1. 2
      src/views/contract/hold-position.vue

2
src/views/contract/hold-position.vue

@ -580,6 +580,8 @@ export default {
this.activeItem = item; this.activeItem = item;
this.strategyForm.symbol = this.activeItem.symbol; this.strategyForm.symbol = this.activeItem.symbol;
this.strategyForm.position_side = this.activeItem.side; this.strategyForm.position_side = this.activeItem.side;
this.strategyForm.tp_trigger_price = item.tpPrice;
this.strategyForm.sl_trigger_price = item.slPrice;
$("#stoploss").modal("show"); $("#stoploss").modal("show");
}, },
stoploss() { stoploss() {

Loading…
Cancel
Save