-
Notifications
You must be signed in to change notification settings - Fork 891
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
ajax 跨域调用问题 #8
Comments
可以用AfterDownload,通过字符串处理将callback()去除 |
这两天有其他的事,回复晚了,使用afterdownload是可以的,但是对于使用@Ajax注解的字段,好像调用不到afterdownload组件,我就自己把源码修改了,但是不知道是不是我用的方式不对。 |
我也在想其他方式实现jsoup,你可以pull request我看看你的方式 |
在1.1.1-SNAPSHOT版本中已经支持jsonp,直接调用ajax和jsonbean就能天然支持,不需要任何改动 |
xtuhcy
pushed a commit
that referenced
this issue
Jul 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果需要访问的ajax地址只能使用jsonp的形式访问,那么返回的数据形式就是callback(data),需要如何处理?
The text was updated successfully, but these errors were encountered: