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

jsonp() Error: Timeout at index.js:63 undefined #59

Open
M3Dade opened this issue Aug 19, 2020 · 1 comment
Open

jsonp() Error: Timeout at index.js:63 undefined #59

M3Dade opened this issue Aug 19, 2020 · 1 comment

Comments

@M3Dade
Copy link

M3Dade commented Aug 19, 2020

fn:
(error, data)=>{
console.log('jsonp()', error, data)
}

when I use jsonp( url, {}, fn) , I find status is 200 in network and &callback__jp0 is attached to the url.

but response is json in firefox
image

and no response in chrome
image

I know the true response is __jp0&&__jp0( ... )
but I don't know how to make it

this is my whole code(actually I have used {} or {timeout:"10000"}
image

@wangfeiandroid
Copy link

I have the same question,so I want to know how to handle it.

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