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

请求不到本地html #204

Open
aotian16 opened this issue Mar 14, 2016 · 1 comment
Open

请求不到本地html #204

aotian16 opened this issue Mar 14, 2016 · 1 comment

Comments

@aotian16
Copy link

本地有两个html

  • 111.html
  • 222.html

111中有个a link链接到222, 结果跳不过去.

环境是 ios模拟器 + cordova

现在我注释掉mobilebone的ajax方法中的if (xhr.status == 200) {代码后可以正常跳转,
因为我调试发现status = 0

不知道是什么原因

@zhangxinxu
Copy link
Owner

如果仅仅是本地模拟,没有走服务器,是会返回0,这个反馈不错,我有空处理下~

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