fix(render): init event in ssr
This commit is contained in:
parent
3444884905
commit
eba1c987a8
6 changed files with 68 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ export class HTML5History extends History {
|
|||
}
|
||||
|
||||
getCurrentPath () {
|
||||
const base = this.config.base
|
||||
const base = this.config.basePath
|
||||
let path = window.location.pathname
|
||||
|
||||
if (base && path.indexOf(base) === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue