mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-13 20:30:48 +08:00
修复用户名密码修改,diff视图滚动
This commit is contained in:
@@ -18,7 +18,7 @@ const Login = () => {
|
||||
},
|
||||
})
|
||||
.then((data) => {
|
||||
if (data.err == 0) {
|
||||
if (data.code == 200) {
|
||||
localStorage.setItem(config.authKey, data.token);
|
||||
history.push('/cookie');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user