From ecc7ad190f2e59af60073b95305f67fed6c22a28 Mon Sep 17 00:00:00 2001 From: zhengpengju Date: Thu, 17 Mar 2022 09:17:38 +0800 Subject: [PATCH] fix --- admin/src/pages/examinationrules/normal/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/src/pages/examinationrules/normal/index.tsx b/admin/src/pages/examinationrules/normal/index.tsx index 8ebf588..cd16686 100644 --- a/admin/src/pages/examinationrules/normal/index.tsx +++ b/admin/src/pages/examinationrules/normal/index.tsx @@ -45,7 +45,7 @@ const handleRemove = async (selectedRows: TableListItem[], currentRow) => { * @param fields */ const handleUpdate = async (fields: FormValueType, currentRow?: TableListItem) => { - const hide = message.loading('正在配置'); + const hide = message.loading('正在更新'); console.log('fields', fields) try { await updateRules({ @@ -53,11 +53,11 @@ const handleUpdate = async (fields: FormValueType, currentRow?: TableListItem) = ...fields, }); hide(); - message.success('配置成功'); + message.success('操作成功'); return true; } catch (error) { hide(); - message.error('配置失败请重试!'); + message.error('操作失败请重试!'); return false; } }; @@ -85,7 +85,7 @@ const ExaminationRules: React.FC = () => { width: 48, }, { - title: '考试名称', + title: '考试规则名称', dataIndex: 'rules_name', valueType: 'text', hideInTable: false,