baseURL被改错了
liushu777 opened this issue · comments
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
baseUrl: process.env.VUE_APP_BASE_API, // url = base url + request url
fe5ec20 baseURL被改错了
The code without any changes reported an error "Request failed with status code 404" after opening the page. When debugging the code, it was found that the case of the baseURL was wrong.
https://github.com/go-admin-team/go-admin-ui/blob/master/src/utils/request.js#L8
@G-Akiraka sir,The git history is correct, not sure why you want to modify it.
我日
是的,改回baseURL就能正确访问了。
真是,刚了解到这个项目,前后端都正常起了,结果登陆验证码全404,查了半天看到这个issue
request.js
baseUrl -> baseURL
works!