-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
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
页面启动后,一直报错,network error #18
Comments
可能是你没有启动后端,或者前端的代理没有配置正确 |
后端启动成功 还是network error |
通过这个命令进行前端代码的编译:npm run build |
请问如何才能通过9528访问且不报错network error呢?看起来这像是一个跨域的问题 |
|
谢谢!我这边实际测试情况是想要进行前后端分离使用,并不是用来本地调试的。。。不知这种应该如何解决跨域问题,是要使用cas登录吗?
从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送
发件人: ***@***.***>
发送时间: 2021年10月9日 14:32
收件人: ***@***.***>
抄送: ***@***.***>; ***@***.***>
主题: Re: [everythingbest/dubbo-postman] 页面启动后,一直报错,network error (#18)
请问如何才能通过9528访问且不报错network error呢?看起来这像是一个跨域的问题
直接对页面请求进行mock 测试的话,可以修改 src/main/frontend/main.js 文件,把
//如果是本地调试就使用,在build的时候正注释掉这行
//import './mock'
上面的注释去掉,然后npm run dev,就可以了。
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#18 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIIXWGR2CQTZCVJ6I5HTFXTUF7OX7ANCNFSM4TMKUSDQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
看readme文件: |
No description provided.
The text was updated successfully, but these errors were encountered: