From edc6b742457bcdfcfbd49ff41a625f956a733459 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 25 五月 2026 11:16:04 +0800
Subject: [PATCH] 合格率统计:明细数据表格高度显示异常修复

---
 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