Skip to content

Commit 6e5da56

Browse files
committed
fix(ssr): AbstractHistory.parse error fix #704
1 parent cefd79a commit 6e5da56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/router/history/abstract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class AbstractHistory extends History {
77
this.mode = 'abstract'
88
}
99

10-
parse(path) {
10+
parse(path = '') {
1111
let query = ''
1212

1313
const queryIndex = path.indexOf('?')

0 commit comments

Comments
 (0)