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

请求无效(服务器无响应)没有错误提示 #51

Closed
xqdd opened this issue Nov 28, 2018 · 6 comments
Closed

请求无效(服务器无响应)没有错误提示 #51

xqdd opened this issue Nov 28, 2018 · 6 comments

Comments

@xqdd
Copy link

xqdd commented Nov 28, 2018

image

浏览器:
Chrome 版本 70.0.3538.110(正式版本) (64 位)

@xiaoymin
Copy link
Owner

这个是你自己服务关了吧,或者程序有问题?

@xqdd
Copy link
Author

xqdd commented Nov 28, 2018

是服务器关了,但一般要给个错误提示吧
image

@xqdd
Copy link
Author

xqdd commented Nov 28, 2018

image
在这里顺便提一下,这个启用增强功能开关应该在后台配置吧,要是后台排了顺序,当然是希望这个开关是打开的,而不是又要去叫前端先把这个开关打开(我想现在在做的项目中前端分管理端和小程序端,要叫他们打开这个开关,这就有点奇怪),最后,我提这这么多是把我使用过程中的感觉到的不足提出来,改不改由作者大大决定,感谢

@xiaoymin
Copy link
Owner

image
在这里顺便提一下,这个启用增强功能开关应该在后台配置吧,要是后台排了顺序,当然是希望这个开关是打开的,而不是又要去叫前端先把这个开关打开(我想现在在做的项目中前端分管理端和小程序端,要叫他们打开这个开关,这就有点奇怪),最后,我提这这么多是把我使用过程中的感觉到的不足提出来,改不改由作者大大决定,感谢

这个问题是有一个主次问题,前端doc.html是ajax请求后端的地址的,对于前端来说,它并不知道后端开启了这个增强,而且一开始就请求这个会有兼容问题

或者从另外一个方面来说,如果是一个针对swagger接口管理的这么一个系统,针对一个api的地址做管理,来开启是否增强,那这种方式就是可以达到你说的那种效果

两种性质不一样

@xiaoymin
Copy link
Owner

是服务器关了,但一般要给个错误提示吧
image

这个可以做优化,下个版本把这个问题考虑进去,优化一下

@xiaoymin
Copy link
Owner

1.8.8 已优化

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

2 participants