mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 23:40:07 +00:00
fix: hidden unnecessary dom render (#310)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
c197d7dfca
commit
f15bddff67
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue