Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Jun 12, 2024
1 parent a5bb1b5 commit 5c89965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/appStore/components/appDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ defineExpose({ open })
<div class="w-full lg:w-2/12 h-auto">
<div class="text-xl font-semibold">{{ item.version }}</div>
<div class="text-xs text-gray-500 dark:text-gray-300 space-y-0.5 mt-2">
<div>{{ data?.created_by?.username }}</div>
<div>{{ data?.created_by?.nickname ?? data?.created_by?.username }}</div>
<div>发布于 {{ `${dayjs(item.created_at).fromNow()}` }}</div>
</div>
</div>
Expand Down Expand Up @@ -260,7 +260,7 @@ defineExpose({ open })
:src="data?.created_by?.avatar"
>{{ data?.created_by?.username?.substring(0, 1).toUpperCase() }}</a-avatar>
<div class="ml-3 text-sm leading-6 mt-0.5">
<div class="text-gray-800 dark:text-white">{{ data?.created_by?.username }}</div>
<div class="text-gray-800 dark:text-white">{{ data?.created_by?.nickname ?? data?.created_by?.username }}</div>
<div class="text-gray-500 dark:text-gray-400 text-xs">应用开发者</div>
</div>
</div>
Expand Down

0 comments on commit 5c89965

Please sign in to comment.