Skip to content

Commit c97dc1e

Browse files
committed
feat: 修改作者信息显示,替换bio为motto以优化用户展示
1 parent 0aea40b commit c97dc1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/project/ProjectInfoCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</v-avatar>
1515
<div class="project-info__author-text">
1616
<span class="project-info__author-name">{{ author.display_name }}</span>
17-
<span v-if="author.bio" class="project-info__author-bio">{{ author.bio }}</span>
17+
<span v-if="author.motto" class="project-info__author-motto">{{ author.motto }}</span>
1818
</div>
1919
</router-link>
2020
<div
@@ -288,7 +288,7 @@ export default {
288288
text-overflow: ellipsis;
289289
white-space: nowrap;
290290
}
291-
.project-info__author-bio {
291+
.project-info__author-motto {
292292
font-size: 0.85rem;
293293
opacity: 0.5;
294294
line-height: 1.35;

0 commit comments

Comments
 (0)