perf: change the target of the link in the theme description to _blank (#461)

pull/464/head
知雨 3 years ago committed by GitHub
parent 87f1cdcb61
commit f481a9f5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@
</div> </div>
<a-descriptions :column="1" layout="horizontal"> <a-descriptions :column="1" layout="horizontal">
<a-descriptions-item label="作者"> <a-descriptions-item label="作者">
<a class="text-inherit" :href="theme.current.author.website || '#'"> <a class="text-inherit" :href="theme.current.author.website || '#'" target="_blank">
{{ theme.current.author.name }} {{ theme.current.author.name }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>
@ -44,12 +44,12 @@
{{ theme.current.description || '-' }} {{ theme.current.description || '-' }}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="官网"> <a-descriptions-item label="官网">
<a class="text-inherit" :href="theme.current.website || '#'"> <a class="text-inherit" :href="theme.current.website || '#'" target="_blank">
{{ theme.current.website || '-' }} {{ theme.current.website || '-' }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="Git 仓库"> <a-descriptions-item label="Git 仓库">
<a class="text-inherit" :href="theme.current.repo || '#'"> <a class="text-inherit" :href="theme.current.repo || '#'" target="_blank">
{{ theme.current.repo || '-' }} {{ theme.current.repo || '-' }}
</a> </a>
</a-descriptions-item> </a-descriptions-item>

Loading…
Cancel
Save