Skip to content

Commit

Permalink
Merge pull request #1199 from fzlins/feature-improve-home-ui
Browse files Browse the repository at this point in the history
fix:修复加入时间列不显示的错误,并将id改成title
  • Loading branch information
ted423 authored Dec 10, 2022
2 parents eb150b1 + 1c334dc commit 784a5fe
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/options/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,9 @@
<span class="caption">{{ props.item.name }}</span>
</a>
</td>
<td v-if="showColumn('user.name')">
<td v-if="showColumn('user.name')" :title="props.item.user.id">
<template v-if="showUserName">
{{ props.item.user.name}}
<template v-if="props.item.user.id">
<br/>({{props.item.user.id}})
</template>
</template>
<template v-else>
****
Expand Down Expand Up @@ -220,10 +217,11 @@
{{ props.item.user.bonusPerHour | formatNumber }}
</template>
</td>
<td v-if="showColumn('user.joinDate')"
<td v-if="showColumn('user.joinTime')"
class="number"
:title="props.item.user.joinDateTime"
>{{ props.item.user.joinTime | timeAgo(showWeek) }}</td>
:title="props.item.user.joinDateTime">
{{ props.item.user.joinTime | timeAgo(showWeek) }}
</td>
<td v-if="showColumn('user.lastUpdateTime')" class="number">
<v-btn
depressed
Expand Down

0 comments on commit 784a5fe

Please sign in to comment.