From e44c622efee02beafab30da2a91561e8892e26ef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 14 五月 2022 14:11:39 +0800
Subject: [PATCH] 2022-05-14

---
 src/tabviews/custom/components/share/normalTable/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx
index 4d753fc..c058330 100644
--- a/src/tabviews/custom/components/share/normalTable/index.jsx
+++ b/src/tabviews/custom/components/share/normalTable/index.jsx
@@ -185,7 +185,7 @@
           content = content.replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, '$&,')
         }
   
-        content = col.prefix + content + col.postfix
+        content = (col.prefix || '') + content + (col.postfix || '')
       }
 
       if (col.marks) {
@@ -259,7 +259,7 @@
       }
 
       if (content) {
-        content = col.prefix + content + col.postfix
+        content = (col.prefix || '') + content + (col.postfix || '')
       }
 
       if (col.blur) {

--
Gitblit v1.8.0