From 82efb8c25176ddb6d22f6adb9b91d6a49fd7f18a Mon Sep 17 00:00:00 2001 From: Agent Date: Wed, 1 Apr 2026 14:06:46 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=95=86=E5=93=81=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=9D=A2=E7=A7=AF=E8=AE=A1=E7=AE=97=E6=94=B9=E4=B8=BA=E5=B9=B3?= =?UTF-8?q?=E6=96=B9=E7=B1=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/product/manage.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index 1512bee..b36284c 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -151,8 +151,9 @@ export default { computedArea() { const l = parseFloat(this.form.length) const w = parseFloat(this.form.width) + // 长度(cm) × 宽度(cm) ÷ 10000 = 面积(m²) if (!isNaN(l) && !isNaN(w) && l > 0 && w > 0) { - return (l * w).toFixed(2) + return (l * w / 10000).toFixed(2) } return '' }