refactor(ssr): for test

This commit is contained in:
qingwei.li 2017-05-30 03:48:29 +08:00 committed by cinwell.li
commit 891475e132
8 changed files with 80 additions and 6 deletions

View file

@ -49,7 +49,7 @@ export default class Renderer {
this.template = this.html
}
_getPath(url) {
_getPath (url) {
const file = this.router.getFile(url)
return isAbsolutePath(file)