fix: lint

This commit is contained in:
qingwei.li 2017-05-30 06:34:16 +08:00
commit b764b6e32c
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
4 changed files with 3 additions and 4 deletions

View file

@ -143,7 +143,7 @@ export function renderMixin (proto) {
dom.toggleClass(el, 'add', 'has-mask')
if (!isAbsolutePath(m[1])) {
path = getPath(vm.router.getBasePath(), m[1])
path = getPath(this.router.getBasePath(), m[1])
}
el.style.backgroundImage = `url(${path})`
el.style.backgroundSize = 'cover'