From 47da4d304104328be0949af0d3ed815d95f5a1e0 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Thu, 21 Nov 2024 18:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=98=E6=89=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/my-components/edit-discount.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/my-components/edit-discount.vue b/components/my-components/edit-discount.vue index dfabe73..688b08e 100644 --- a/components/my-components/edit-discount.vue +++ b/components/my-components/edit-discount.vue @@ -72,7 +72,7 @@ } }) function currentPriceInput(newval){ - form.discount=(newval*100/form.price).toFixed() + form.discount=(newval*100/form.price) } function discountInput(newval){ form.currentPrice=(form.price*newval/100).toFixed(2)