Skip to content

Commit

Permalink
fix(CopyrightInfo): 修复显示bug (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee authored Oct 13, 2024
1 parent ac4a223 commit 8663329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CopyrightInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ watch(
<a v-if="attrs?.copyright?.url" :href="attrs.copyright.url">{{ displayAuthors }}</a>
<span v-else>{{ displayAuthors }}</span>
<span> 创作</span>
<span v-if="attrs?.copyright?.org">
<span v-if="attrs?.copyright?.org && attrs?.copyright?.license">
,{{ attrs.copyright.org }} 在
<a v-if="attrs?.copyright?.licenseUrl" :href="attrs.copyright.licenseUrl">{{ attrs.copyright.license }}</a>
<span v-else>{{ attrs.copyright.license }}</span>
许可下使用
</span>
<span v-else-if="orgName">
<span v-else-if="orgName && attrs?.copyright?.license">
,{{ orgName }} 在
<a v-if="attrs?.copyright?.licenseUrl" :href="attrs.copyright.licenseUrl">{{ attrs.copyright.license }}</a>
<span v-else>{{ attrs.copyright.license }}</span>
Expand Down

0 comments on commit 8663329

Please sign in to comment.