From 5f3cf604c6598d34a389dcbdded8ab9c973f4085 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期四, 11 七月 2024 15:09:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/static/js/worker.js b/static/js/worker.js
index 3546e3f..3be9748 100644
--- a/static/js/worker.js
+++ b/static/js/worker.js
@@ -221,11 +221,7 @@
             // let ask = currentSample.insProduct.find(m => m.id == item.i).ask?currentSample.insProduct.find(m => m.id == item.i).ask.split('&'):null;
             // let tell = currentSample.insProduct.find(m => m.id == item.i).tell?currentSample.insProduct.find(m => m.id == item.i).tell.split('&'):null;
             comResult = compute(item.v.f.replace(/=/g, ' '),comValue)
-            let list3 = []
-            list2.forEach(val => {
-              val = val.toString()
-              list3.push(val)
-            })
+            let list3 = list2.map(item=>item+'')
             isToExponential = list3.some(val => val.includes('e+'))
             // 瑁呭椤圭洰妫�楠屽�艰浆鍖�
             if (PROJECT === '瑁呭鐢电紗' && isToExponential) {

--
Gitblit v1.9.3