fix: add ProcessRelation to entity types (#194)

This commit is contained in:
Fine0830
2022-11-28 22:49:23 +08:00
committed by GitHub
parent d8f91bbdf3
commit 5be106fc4f
5 changed files with 73 additions and 73 deletions

View File

@@ -43,7 +43,11 @@ limitations under the License. -->
</div>
<el-progress
: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']"
:show-text="false"
/>