We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69b2040 commit abd885eCopy full SHA for abd885e
src/core/router/history/hash.js
@@ -80,7 +80,9 @@ export class HashHistory extends History {
80
path = route.path + stringifyQuery(route.query)
81
path = path.replace(/\.md(\?)|\.md$/, '$1')
82
83
- if (local) path = currentRoute + path
+ if (local) {
84
+ path = currentRoute.substr(0, currentRoute.indexOf('?')) + path
85
+ }
86
87
return cleanPath('#/' + path)
88
}
0 commit comments