fix: lint
This commit is contained in:
parent
46261572e3
commit
b764b6e32c
4 changed files with 3 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ export class History {
|
|||
this.config = config
|
||||
}
|
||||
|
||||
getBasePath() {
|
||||
getBasePath () {
|
||||
return this.config.basePath
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export class HashHistory extends History {
|
|||
this.mode = 'hash'
|
||||
}
|
||||
|
||||
getBasePath() {
|
||||
getBasePath () {
|
||||
const path = window.location.pathname || ''
|
||||
const base = this.config.basePath
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue