Skip to content
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

登录页验证码出不来,报错500,怎么解决? #254

Open
zrting opened this issue Apr 1, 2024 · 2 comments
Open

登录页验证码出不来,报错500,怎么解决? #254

zrting opened this issue Apr 1, 2024 · 2 comments

Comments

@zrting
Copy link

zrting commented Apr 1, 2024

拉取项目安装依赖,启动项目登录页面验证码出不来,提示系统接口500异常,控制台:[vite] http proxy error at /captchaImage:Error: connect ECONNREFUSED 127.0.0.1:8080 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
然后将vite.config.js中proxy中:target:
'http://localhost:80' 端口号改为80,验证码接口304,还是加载不出来,请问这个问题怎么解决呢?望大佬能看到

@nidegexing
Copy link

同样的问题,朋友们有遇到么,什么原因呀,怎么解决

@scallopsF
Copy link

我也是同样的问题 ,改成自己的服务接口了,在vue2的项目上可以,在这个vue3的项目上就报错 304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants