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 3 years ago committed by GitHub
parent e8146d929f
commit 30f3349546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save