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

This commit is contained in:
liqingwei 2019-02-19 11:20:23 +08:00 committed by cinwell.li
commit 4036bd8388

View file

@ -7,7 +7,7 @@ export class AbstractHistory extends History {
this.mode = 'abstract'
}
parse(path) {
parse(path = '') {
let query = ''
const queryIndex = path.indexOf('?')