fix: hidden unnecessary dom render (#310)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
c197d7dfca
commit
f15bddff67
|
@ -58,7 +58,7 @@ useCommand({
|
|||
</div>
|
||||
</CommonTooltip>
|
||||
|
||||
<CommonAnimateNumber :increased="active" text-sm>
|
||||
<CommonAnimateNumber v-if="text !== undefined" :increased="active" text-sm>
|
||||
<span text-secondary-light>{{ text }}</span>
|
||||
<template #next>
|
||||
<span :class="[color]">{{ text }}</span>
|
||||
|
|
Loading…
Reference in a new issue