fix(ssr): AbstractHistory.parse error fix #704

This commit is contained in:
liqingwei
2019-03-31 14:33:08 +08:00
committed by cinwell.li
parent a97c61d8e5
commit 4036bd8388
+1 -1
View File
@@ -7,7 +7,7 @@ export class AbstractHistory extends History {
this.mode = 'abstract'
}
parse(path) {
parse(path = '') {
let query = ''
const queryIndex = path.indexOf('?')