8000 当我在页面中使用 · Issue #32 · progrape/router · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

当我在页面中使用时,会报错找不到url #32

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

Open
tongjh2 opened this issue Oct 11, 2016 · 1 comment
Open

当我在页面中使用时,会报错找不到url #32

tongjh2 opened this issue Oct 11, 2016 · 1 comment

Comments

@tongjh2
Copy link
tongjh2 commented Oct 11, 2016

当我在页面中使用时,会报错找不到url
报错提示:
router.min.js:6 Uncaught Error: url was not found

@tongjh2
Copy link
Author
tongjh2 commented Oct 17, 2016

我修改了src/index.js 第198行
throw new Error(url ${url} was not found);
改为
if(!url){return;}throw new Error(url ${url} was not found);

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

1 participant
0