We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock/user/index.ts这里 if (!hasUser) { return { code: 500, message: '账号或密码错误' } }
与src/config/axios/config.ts中 defaultResponseInterceptors 解析数据不匹配
改成了 if (!hasUser) { return { data:{ code: 500, message: '账号或密码错误' } } }
The text was updated successfully, but these errors were encountered:
7582e4d
No branches or pull requests
mock/user/index.ts这里
if (!hasUser) {
return {
code: 500,
message: '账号或密码错误'
}
}
与src/config/axios/config.ts中 defaultResponseInterceptors 解析数据不匹配
改成了
if (!hasUser) {
return {
data:{
code: 500,
message: '账号或密码错误'
}
}
}
The text was updated successfully, but these errors were encountered: