From c83a50317baeba1a4771e4d802eee029ed2b7e31 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 23 六月 2020 18:23:43 +0800 Subject: [PATCH] 2020-06-23 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx index 6ff9b95..674f7c1 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx @@ -155,7 +155,17 @@ title: '鎵ц浣嶇疆', dataIndex: 'position', width: '10%', - render: (text, record) => record.position !== 'front' ? 'sql鍚�' : 'sql鍓�' + render: (text, record) => { + let _text = '' + if (record.position === 'front') { + _text = 'sql鍓�' + } else if (record.position === 'init') { + _text = '鍒濆鍖�' + } else { + _text = 'sql鍚�' + } + return _text + } }, { title: '鐘舵��', -- Gitblit v1.8.0