mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix
This commit is contained in:
parent
ad2ee6fd21
commit
739c06cd87
@ -43,7 +43,11 @@ limitations under the License. -->
|
|||||||
</div>
|
</div>
|
||||||
<el-progress
|
<el-progress
|
||||||
:stroke-width="6"
|
:stroke-width="6"
|
||||||
:percentage="(i.value / maxValue) * 100"
|
:percentage="
|
||||||
|
isNaN(Number(i.value) / maxValue)
|
||||||
|
? 0
|
||||||
|
: (Number(i.value) / maxValue) * 100
|
||||||
|
"
|
||||||
:color="TextColors[config.color || 'purple']"
|
:color="TextColors[config.color || 'purple']"
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user