We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fbc1a commit d5e66eaCopy full SHA for d5e66ea
src/index.js
@@ -551,7 +551,9 @@ class Router {
551
if (path && typeof path === 'object') {
552
if (path.name) {
553
const extend = Vue.util.extend
554
- const currentParams = this._currentTransition.to.params
+ const currentParams =
555
+ this._currentTransition &&
556
+ this._currentTransition.to.params
557
const targetParams = path.params || {}
558
const params = currentParams
559
? extend(extend({}, currentParams), targetParams)
0 commit comments