fix(hook): beforeEach don\'t work, fixed #393

This commit is contained in:
qingwei.li 2018-02-15 18:34:19 +08:00
commit 6a09059645

View file

@ -142,7 +142,7 @@ export function renderMixin (proto) {
prerenderEmbed( prerenderEmbed(
{ {
compiler: this.compiler, compiler: this.compiler,
raw: text raw: result
}, },
tokens => { tokens => {
html = this.compiler.compile(tokens) html = this.compiler.compile(tokens)