Merge remote-tracking branch 'origin/main'

This commit is contained in:
tiny-craft 2023-10-15 19:55:04 +08:00
commit 7bcd78f321
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ const onDeleteKey = () => {
<template v-if="ttl < 0"> <template v-if="ttl < 0">
{{ $t('interface.forever') }} {{ $t('interface.forever') }}
</template> </template>
<template v-else>{{ ttl }} {{ $t('common.second') }}</template> <template v-else>
{{ Math.floor(ttl/3600) }}:{{ Math.floor((ttl%3600)/60) }}:{{ Math.floor(ttl%60) }}
</template>
</n-button> </n-button>
</template> </template>
TTL TTL