diff --git a/src/history/html5.js b/src/history/html5.js index e1fe31135..3d28bf581 100644 --- a/src/history/html5.js +++ b/src/history/html5.js @@ -129,7 +129,7 @@ function pushState (url: string, replace?: boolean) { } saveScrollPosition(_key) } catch (e) { - window.location[replace ? 'assign' : 'replace'](url) + window.location[replace ? 'replace' : 'assign'](url) } }