-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
router里的isObjectEqual方法,当对象属性的值为null时,会报错 #1552
Comments
Hi! |
Hi, |
well, in that case please point out where the problem or a jsfiddle showcasing the problem |
assert isObjectEqual( {q: "", from: null, to: null}, {q: "", from: null, to: null})===true please add this test Case i wish that vue-router supports url like "http://host:port/dashboards?q=&from&to" i get a work around way: |
I just create a new issue about this problem, please see #1566. |
Version
2.7.0
Reproduction link
https://jsfiddle.net/50wL7mdz/43712/
Steps to reproduce
isObjectEquals方法没写好
What is expected?
不报错
What is actually happening?
报nullpointer
router里的isObjectEqual方法,当对象属性的值为null时,会报错
The text was updated successfully, but these errors were encountered: