From 22bd0dc7f97fb4508458039b5120ff6d5ffb43f8 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期五, 05 七月 2024 09:36:29 +0800
Subject: [PATCH] 温度循环表格标题修改
---
src/util/excelFountion.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/util/excelFountion.js b/src/util/excelFountion.js
index 1fa318f..f237bc3 100644
--- a/src/util/excelFountion.js
+++ b/src/util/excelFountion.js
@@ -269,7 +269,7 @@
'MAX',
'MIN',
'AVERAGE',
- 'APS',
+ 'ABS',
]
f = f.replace(regex, ',')
fouList.forEach(item=>{
@@ -319,7 +319,9 @@
if(typeof(comValue[a])=='string'&&comValue[a].includes('^')){
// 璁$畻骞傛
arr[a] = CalculatePower(comValue[a])
- }else{
+ } else if (typeof(comValue[a])=='string'&&comValue[a].includes('/')) {
+ arr[a] = comValue[a]
+ } else{
arr[a] = comValue[a]
}
}
--
Gitblit v1.9.3