You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#1104
IE 9 supports the performance API but doesn't have the now method. Since we're relying specifically on that one, better directly check for performance.now
Vue.js / vue-router versions
2.1.10 / 2.1.2
Steps to reproduce
In IE 9 (IE 11 with document mode 9), there are two error in console. One is vue, another is vue-router.
About vue-router, console show
Object doesn't support this property or method (now)
.对象不支持“now”属性或方法
What is actually happening?
I have checkout the vue-router source code, and find the problem.
1961d35#diff-6f3e0f40e05988a09d760ec1a86f3420
On line 17,
inBrowser
is true, butwindow.performance
does not havenow
method in IE 9.It is a mistake.
The text was updated successfully, but these errors were encountered: