fix
This commit is contained in:
parent
7344126368
commit
979c42c4bd
|
|
@ -61,7 +61,7 @@ function Render(props) {
|
|||
], hasFeedback: true, validateStatus: validateStatus }, { children: (0, jsx_runtime_1.jsx)(antd_1.Input.Password, { value: password, onChange: function (e) {
|
||||
var strValue = e.target.value;
|
||||
setPassword(strValue);
|
||||
}, iconRender: function (visible) { return (visible ? (0, jsx_runtime_1.jsx)(icons_1.EyeTwoTone, {}) : (0, jsx_runtime_1.jsx)(icons_1.EyeInvisibleOutlined, {})); }, placeholder: '请输入新密码' }) })), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: '确认密码', name: "passwordConfirm", rules: [
|
||||
}, iconRender: function (visible) { return (visible ? (0, jsx_runtime_1.jsx)(icons_1.EyeTwoTone, {}) : (0, jsx_runtime_1.jsx)(icons_1.EyeInvisibleOutlined, {})); }, placeholder: '请输入新密码' }) })), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: '确认新密码', name: "passwordConfirm", rules: [
|
||||
{
|
||||
required: true,
|
||||
validator: function (_, value) {
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ export default function Render(
|
|||
/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={'确认密码'}
|
||||
label={'确认新密码'}
|
||||
name="passwordConfirm"
|
||||
rules={[
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue