From 61597b5be843c090b7e105142ad94842bf8b9bef Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 2 Sep 2024 14:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract/handicap.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/contract/handicap.vue b/src/views/contract/handicap.vue index 77f063c..85190d7 100644 --- a/src/views/contract/handicap.vue +++ b/src/views/contract/handicap.vue @@ -232,7 +232,8 @@ export default { this.buyList = res.swapBuyList; this.tradeList = res.swapTradeList; 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); }); },