fix: not found page

This commit is contained in:
qingwei.li 2017-07-09 10:48:41 +08:00
commit 9af855921e
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
2 changed files with 15 additions and 4 deletions

View file

@ -117,6 +117,10 @@ export function renderMixin (proto) {
}
proto._renderMain = function (text, opt = {}) {
if (!text) {
return renderMain.call(this, text)
}
callHook(this, 'beforeEach', text, result => {
let html = this.isHTML ? result : this.compiler.compile(result)
if (opt.updatedAt) {