fix: no category in category management does not show empty tips (#538)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/541/head
Ryan Wang 2022-04-07 00:45:55 +08:00 committed by GitHub
parent e8146d929f
commit 30f3349546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@
></ReactiveButton>
</template>
<a-spin :spinning="list.loading">
<a-empty v-if="list.data.length === 0" />
<CategoryTreeNode
v-model="list.treeData"
@edit="handleEdit"