From 0479e3bcf39f458669ecd95bf43c20b7a1b1929e Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 02 八月 2024 14:17:39 +0800
Subject: [PATCH] 数采升级-前端修改

---
 static/js/worker.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/static/js/worker.js b/static/js/worker.js
index ba752fe..3d0c8d4 100644
--- a/static/js/worker.js
+++ b/static/js/worker.js
@@ -348,7 +348,7 @@
                       let num = 0
                       let str = a[b].v.ct.fa.split('.')[1]
                       num = str.length
-                      a[b].v.v = comResult?Number(comResult).toFixed(num):0
+                      a[b].v.v = comResult?Number(comResult).toFixed(num):comResult
                     }else{
                       let val = parseFloat(Number(comResult).toFixed(3))
                       a[b].v.v = isNaN(val) ? comResult : val

--
Gitblit v1.9.3