Merge branch 'main' into perf/username-validation

pull/868/head
Ryan Wang 2023-02-20 14:53:53 +08:00 committed by GitHub
commit 71d68d3732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -532,7 +532,7 @@ watch(
<VTabs v-model:active-id="extraActiveId" type="outline">
<VTabItem id="toc" label="大纲">
<div class="p-1 pt-0">
<ul class="space-y-1">
<ul v-if="headingNodes?.length" class="space-y-1">
<li
v-for="(node, index) in headingNodes"
:key="index"
@ -559,6 +559,9 @@ watch(
</div>
</li>
</ul>
<div v-else class="flex flex-col items-center py-10">
<span class="text-sm text-gray-600">暂无大纲</span>
</div>
</div>
</VTabItem>
<VTabItem id="information" label="详情">