Browse Source

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

pull/6917/head
Konv Suu 1 year ago committed by GitHub
parent
commit
95fa2547fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      site/src/components/Contributors/index.vue

4
site/src/components/Contributors/index.vue

@ -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">

Loading…
Cancel
Save