Skip to content

Commit a98549a

Browse files
committed
optimize(projects): optimized code
1 parent 00bdccb commit a98549a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/pages/login/pwd-login/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,15 @@ export function Component() {
6565
rules={userNameRules}
6666
name="userName"
6767
>
68-
<Input></Input>
68+
<Input />
6969
</Form.Item>
7070

7171
<Form.Item
7272
rules={pwd}
7373
name="password"
7474
>
75-
<Input.Password autoComplete="password"></Input.Password>
75+
<Input.Password autoComplete="password" />
7676
</Form.Item>
77-
</Form>
7877
<Space
7978
direction="vertical"
8079
className="w-full"
@@ -131,7 +130,7 @@ export function Component() {
131130
})}
132131
</div>
133132
</Space>
134-
133+
</Form>
135134
</>
136135
);
137136
}

0 commit comments

Comments
 (0)