This commit is contained in:
wenjiarui 2023-08-17 18:42:25 +08:00
parent 7344126368
commit 979c42c4bd
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -135,7 +135,7 @@ export default function Render(
/>
</Form.Item>
<Form.Item
label={'确认密码'}
label={'确认密码'}
name="passwordConfirm"
rules={[
{