From e0477f201caa4ab4f9d13cd63d9b92b6d96e42ba Mon Sep 17 00:00:00 2001 From: Q01 <8140841+zsm1703@users.noreply.github.com> Date: Sun, 27 Feb 2022 13:14:41 +0800 Subject: [PATCH] user/Info.js: fix submit button availability when `validateStatus` is false (#225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * user/Info.js: fix submit button available state. Info.js: 修复前端密码验证失败,提交按钮依然可用的问题 * user/Info.js: fix `help` placeholder --- web/src/components/user/Info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/user/Info.js b/web/src/components/user/Info.js index c03147a..b5324b3 100644 --- a/web/src/components/user/Info.js +++ b/web/src/components/user/Info.js @@ -194,13 +194,13 @@ class Info extends Component { }, ]} validateStatus={this.state.validateStatus} - help={this.state.errorMsg || ''} + help={this.state.errorMsg || ' '} > this.onNewPassword2Change(value)} style={{width: 240}}/> -