Browse Source

无JIRA 去掉sameroute报错

es6
zsmj 2 years ago
parent
commit
ba884c00b9
  1. 2
      src/router/router.js

2
src/router/router.js

@ -2326,7 +2326,7 @@
route.matched[lastRouteIndex] === current.matched[lastCurrentIndex] route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]
) { ) {
this.ensureURL(); this.ensureURL();
return abort(createNavigationDuplicatedError(current, route)) return;
} }
var ref = resolveQueue( var ref = resolveQueue(

Loading…
Cancel
Save