|
|
|
@ -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) |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 计算深度 |
|
|
|
|