fix: hidden unnecessary dom render (#310)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
zio/stable
Chris 2022-12-03 13:28:32 +08:00 committed by GitHub
parent c197d7dfca
commit f15bddff67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ useCommand({
</div> </div>
</CommonTooltip> </CommonTooltip>
<CommonAnimateNumber :increased="active" text-sm> <CommonAnimateNumber v-if="text !== undefined" :increased="active" text-sm>
<span text-secondary-light>{{ text }}</span> <span text-secondary-light>{{ text }}</span>
<template #next> <template #next>
<span :class="[color]">{{ text }}</span> <span :class="[color]">{{ text }}</span>