File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,10 @@ function onTocClick(e: Event) {
164164}
165165
166166if (import .meta .client ) {
167- watch (() => docsData .value ?.toc , () => nextTick (updateActiveTocLink ))
167+ watch (
168+ () => docsData .value ?.toc ,
169+ () => nextTick (updateActiveTocLink ),
170+ )
168171 onMounted (() => {
169172 window .addEventListener (' hashchange' , updateActiveTocLink )
170173 updateActiveTocLink ()
@@ -197,7 +200,12 @@ if (import.meta.client) {
197200 {{ $t('package.docs.contents') }}
198201 </h2 >
199202 <!-- eslint-disable vue/no-v-html -->
200- <div ref =" tocContainerRef" class =" toc-content" @click =" onTocClick" v-html =" docsData.toc" />
203+ <div
204+ ref =" tocContainerRef"
205+ class =" toc-content"
206+ @click =" onTocClick"
207+ v-html =" docsData.toc"
208+ />
201209 </div >
202210 </aside >
203211
You can’t perform that action at this time.
0 commit comments