From f8a9d0f85017537fc2ac5d1cdb7a9a90f22c556e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 十二月 2022 14:48:53 +0800 Subject: [PATCH] 2022-12-06 --- src/menu/components/share/markcomponent/index.jsx | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/menu/components/share/markcomponent/index.jsx b/src/menu/components/share/markcomponent/index.jsx index 50c608f..a17b5dd 100644 --- a/src/menu/components/share/markcomponent/index.jsx +++ b/src/menu/components/share/markcomponent/index.jsx @@ -144,10 +144,7 @@ _columns.unshift({field: '$Index', label: '搴忓彿'}) let options = _columns.map(col => { - let label = col.label - if (col.label.toLowerCase() !== col.field.toLowerCase()) { - label += `锛�${col.field}锛塦 - } + let label = `${col.field}锛�${col.label}锛塦 return { value: col.field, label: label, @@ -161,10 +158,7 @@ value: 'dynamic', label: '鍔ㄦ�佸��', children: _columns.map(cell => { - let _label = cell.label - if (cell.label.toLowerCase() !== cell.field.toLowerCase()) { - _label += `锛�${cell.field}锛塦 - } + let _label = `${cell.field}锛�${cell.label}锛塦 return { value: cell.field, label: _label -- Gitblit v1.8.0