docs: add judgement condition for contributor list (#6889)

This commit is contained in:
Konv Suu 2023-08-30 15:12:49 +08:00 committed by GitHub
parent 70102039c4
commit 95fa2547fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ watchEffect(() => {
</script>
<template>
<div class="contributors-list">
<ul v-if="contributors.length > 0" class="acss-1ppw8kl">
<div v-if="contributors.length > 0" class="contributors-list">
<ul class="acss-1ppw8kl">
<li v-for="item in contributors" :key="item.login">
<a-tooltip :title="`${isZn ? '文档贡献者:' : 'Contributor: '}${item.login}`">
<a :href="item.url" target="_blank">