From 2028ebf2f54b061965aee303d70bbae7b721ee3c Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Wed, 12 Mar 2025 14:52:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=AF=E5=BC=80=E5=92=8C?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract/exchange-store.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/contract/exchange-store.vue b/src/views/contract/exchange-store.vue index 9eee360..c02ad29 100644 --- a/src/views/contract/exchange-store.vue +++ b/src/views/contract/exchange-store.vue @@ -254,7 +254,8 @@
{{ $t("contract.e7") }}
-
{{ accountInfo.openNum }}
+ +
{{ maxNum }}
{{ $t("contract.e1") }}
@@ -518,7 +519,7 @@ export default { // console.info(this.form.lever_rate) // console.info(this.margin) if (!this.form.lever_rate || !this.marginBuy) return 0; - let p=this.marginBuy*this.form.lever_rate; + let p = Math.round(this.marginBuy*this.form.lever_rate); this.buyform.amount=p; return p @@ -527,7 +528,7 @@ export default { // console.info(this.form.lever_rate) // console.info(this.margin) if (!this.form.lever_rate || !this.marginSell) return 0; - let p=this.marginSell*this.form.lever_rate; + let p = Math.round(this.marginSell*this.form.lever_rate); this.sellform.amount=p; return p