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
大佬您好,我想问下github pages 怎么配置api跨域的?
The text was updated successfully, but these errors were encountered:
大佬您好,我想问下github pages 怎么配置api跨域的? 暂时使用 const api = process.env.NODE_ENV === "production" ? "https://gitee.com/api/v5" : "/api" export function test(id) { return request({ url: ${api}/users/${id}, method: 'get', }); }
const api = process.env.NODE_ENV === "production" ? "https://gitee.com/api/v5" : "/api" export function test(id) { return request({ url:
, method: 'get', }); }
Sorry, something went wrong.
No branches or pull requests
大佬您好,我想问下github pages 怎么配置api跨域的?
The text was updated successfully, but these errors were encountered: