From c863d53a225feffb018e35b4453c1e977eaeca81 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 11 五月 2026 15:24:34 +0800
Subject: [PATCH] 不合格处理:对接OA报错问题修复

---
 src/utils/excelFountion.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/utils/excelFountion.js b/src/utils/excelFountion.js
index eced05c..4a2c516 100644
--- a/src/utils/excelFountion.js
+++ b/src/utils/excelFountion.js
@@ -46,7 +46,6 @@
     let min = null;
     if (val && val.length > 0) {
       val = val.filter((item) => item != null && item !== "");
-      // console.log(val)
       if (val.length > 0) {
         min = Math.min(...val);
       }
@@ -247,7 +246,7 @@
 function getABCList(f) {
   try {
     let regex = /[=\+\-\*\%\(\)\/\^\s]/g;
-    let fouList = ["SUM", "MAX", "MIN", "AVERAGE", "ABS"];
+    let fouList = ["SUM", "MAX", "MIN", "AVERAGE", "ABS","SQRT"];
     f = f
       .replace(regex, ",")
       .replace(new RegExp('"&', "g"), "")
@@ -255,7 +254,6 @@
     fouList.forEach((item) => {
       f = f.replace(new RegExp(item, "g"), "");
     });
-    // console.log('f',f)
     let arr = f.split(",").filter((item) => {
       return (
         item && /[a-zA-Z]/.test(item) && item != "undefined" && item != "null"

--
Gitblit v1.9.3