fix: hidden unnecessary dom render (#310)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>zio/stable
parent
c197d7dfca
commit
f15bddff67
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue