fix: basePath for history mode

This commit is contained in:
qingwei.li 2017-05-30 10:11:48 +08:00
commit fc1cd3f11d
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
6 changed files with 25 additions and 18 deletions

View file

@ -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