修复用户名密码修改,diff视图滚动

This commit is contained in:
whyour
2021-03-21 11:57:00 +08:00
parent f03323e5d8
commit ecb5bb1718
6 changed files with 33 additions and 20 deletions
+1 -1
View File
@@ -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 {