|
|
@ -232,7 +232,8 @@ export default { |
|
|
this.buyList = res.swapBuyList; |
|
|
this.buyList = res.swapBuyList; |
|
|
this.tradeList = res.swapTradeList; |
|
|
this.tradeList = res.swapTradeList; |
|
|
this.newPriceObj = this.tradeList[0]; |
|
|
this.newPriceObj = this.tradeList[0]; |
|
|
this.$store.commit('SET_PRICE', this.newPriceObj.price); |
|
|
localStorage.setItem("price",this.newPriceObj.price) |
|
|
|
|
|
// this.$store.commit('SET_PRICE', this.newPriceObj.price); |
|
|
this.$emit("input", this.newPriceObj); |
|
|
this.$emit("input", this.newPriceObj); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|