From 4c9741f851155a3ccbe7e1c1f36246575646d709 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 21 十一月 2022 15:54:05 +0800
Subject: [PATCH] 2022-11-21

---
 src/menu/components/share/markcomponent/index.jsx |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/share/markcomponent/index.jsx b/src/menu/components/share/markcomponent/index.jsx
index 6da49ef..50c608f 100644
--- a/src/menu/components/share/markcomponent/index.jsx
+++ b/src/menu/components/share/markcomponent/index.jsx
@@ -144,9 +144,13 @@
     _columns.unshift({field: '$Index', label: '搴忓彿'})
 
     let options = _columns.map(col => {
+      let label = col.label
+      if (col.label.toLowerCase() !== col.field.toLowerCase()) {
+        label += `锛�${col.field}锛塦
+      }
       return {
         value: col.field,
-        label: col.label,
+        label: label,
         isLeaf: false,
         children: [
           {
@@ -157,9 +161,13 @@
             value: 'dynamic',
             label: '鍔ㄦ�佸��',
             children: _columns.map(cell => {
+              let _label = cell.label
+              if (cell.label.toLowerCase() !== cell.field.toLowerCase()) {
+                _label += `锛�${cell.field}锛塦
+              }
               return {
                 value: cell.field,
-                label: cell.label
+                label: _label
               }
             })
           }

--
Gitblit v1.8.0