From 2652a3c1485dbbf3b003e13e5c5d1c0205e7c324 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 09 九月 2020 09:19:46 +0800 Subject: [PATCH] 2020-09-09 --- src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx index ef1f4cc..a391de7 100644 --- a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx @@ -33,7 +33,7 @@ if (values.interType === 'system' && values.execute !== 'false' && !values.dataresource) { notification.warning({ top: 92, - message: '璇峰~鍐欏唴閮ㄥ嚱鏁版垨鏁版嵁婧愶紒', + message: '璇峰~鍐欐暟鎹簮锛�', duration: 5 }) reject() @@ -147,6 +147,9 @@ let _patten = new RegExp(str + formRule.func.innerPattern + '$', 'g') rules.push({ + required: true, + message: this.props.dict['form.required.input'] + '鍐呴儴鍑芥暟!' + }, { pattern: _patten, message: formRule.func.innerMessage }) @@ -164,7 +167,7 @@ { required: true, message: this.props.dict['form.required.input'] + '琛ㄥ悕!' - }, + } ] })(<Input placeholder={''} autoComplete="off" />)} </Form.Item> -- Gitblit v1.8.0