From b432d5655c409fd6bf7be5d596fe839137158ae3 Mon Sep 17 00:00:00 2001 From: luyisha Date: Thu, 10 Aug 2023 17:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=89=8D=E7=AB=AF=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E5=A4=84=E7=90=86?= 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 f09e2c3..73f93ad 100644 --- a/src/views/contract/handicap.vue +++ b/src/views/contract/handicap.vue @@ -199,7 +199,8 @@ export default { this.linkSocket(); } bus.$on('collapse', msg => { - this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3); + // this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3); + this.newPriceObj.price = msg.close; this.$emit("input", this.newPriceObj); // console.log(this.newPriceObj.price, 'this.newPriceObj.price-----') });