fix: basePath for history mode
This commit is contained in:
parent
3f38810774
commit
fc1cd3f11d
6 changed files with 25 additions and 18 deletions
|
|
@ -50,7 +50,6 @@ export function fetchMixin (proto) {
|
|||
const root = getParentPath(this.route.path)
|
||||
const path = this.router.getFile(root + coverpage)
|
||||
|
||||
console.log(this.route.path, root, path)
|
||||
if (this.route.path !== '/' || !coverpage) {
|
||||
this._renderCover()
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue