Skip to content

Commit 6c5361b

Browse files
committed
pref: 登录 loading 效果
1 parent 129da72 commit 6c5361b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cube-password",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"main": "index.js",
55
"repository": "git@github.com:HoPGoldy/cube-password.git",
66
"author": "HoPGoldy <hpgless@outlook.com>",

src/client/pages/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const Login = () => {
146146
<Button
147147
size='large'
148148
block
149-
disabled={isLogin}
149+
loading={isLogin}
150150
type='primary'
151151
style={{ background: appConfig?.buttonColor }}
152152
onClick={onSubmit}>

0 commit comments

Comments
 (0)