Browse Source

修改合约保证金为2位小数点

master
liaoxinyu 11 months ago
parent
commit
3f0ea5f6b0
  1. 6
      src/views/contract/handicap.vue

6
src/views/contract/handicap.vue

@ -225,11 +225,11 @@ export default {
this.sellList = res.swapSellList;
this.buyList = res.swapBuyList;
this.tradeList = res.swapTradeList;
localStorage.setItem("price",this.newPriceObj.price)
// if(this.tradeList.length>0){
// this.newPriceObj = this.tradeList[0];
this.newPriceObj = this.tradeList[0];
// }
// this.$emit("input", this.newPriceObj);
this.$emit("input", this.newPriceObj);
localStorage.setItem("price",this.newPriceObj.price)
});
},
//

Loading…
Cancel
Save