From ff045a6a19e2e0bd5c2433aae71145401627c22d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 19 十二月 2019 19:08:32 +0800
Subject: [PATCH] 2019-12-19

---
 src/tabviews/commontable/mainTable/index.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/commontable/mainTable/index.jsx b/src/tabviews/commontable/mainTable/index.jsx
index 6b65a50..77e02c2 100644
--- a/src/tabviews/commontable/mainTable/index.jsx
+++ b/src/tabviews/commontable/mainTable/index.jsx
@@ -96,7 +96,8 @@
       }
 
       if (content && item.format === 'thdSeparator') {
-
+        content = `${content}`
+        content = content.replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, '$&,')
       }
 
       content = (item.prefix || '') + content + (item.postfix || '')
@@ -109,7 +110,7 @@
           </div>
         </div>
       )
-    } else if (item.type === 'operation') {
+    } else if (item.type === 'action') {
       return (
         <div className={item.style} style={{ minWidth: (item.Width || 120) + 'px' }}>
           {item.operations.map(btn => {

--
Gitblit v1.8.0