From 1ce37bdc2ed2977ff4a0a7e5014c915d02915a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=B7?= Date: Wed, 31 Oct 2018 00:22:59 +0000 Subject: [PATCH] fix: missing variable declaration (#660) ### Issue screenshot 2018-10-30 at 23 31 35 Sorry, forgot to include this line in previous PR. ----- Please makes sure these boxes are checked before submitting your PR, thank you! * [x] Make sure you are merging your commits to `master` branch. * [x] Add some descriptions and refer relative issues for you PR. * [x] DO NOT include files inside `lib` directory. --- src/core/render/compiler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/render/compiler.js b/src/core/render/compiler.js index 74d9ed382..6ea1fda4c 100644 --- a/src/core/render/compiler.js +++ b/src/core/render/compiler.js @@ -71,6 +71,7 @@ export class Compiler { this.router = router this.cacheTree = {} this.toc = [] + this.cacheTOC = {} this.linkTarget = config.externalLinkTarget || '_blank' this.contentBase = router.getBasePath()