Skip to content

Commit

Permalink
[*] 尝试修复登录
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami authored Sep 16, 2024
1 parent 27a845f commit cd69b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async function login() {
ldb.error()
return
}
if (rs.status === 200 && rs.data.status === 200) {
if (rs.status === 200 && rs.statusApi === 200) {
message.success(rs.data.username + ',欢迎回来!')
userData.commit('set_token', rs.data.token)
// console.log(res.data)
Expand Down

0 comments on commit cd69b50

Please sign in to comment.