fix:修改 licenseMangement concurrency为-1 时 显示无穷大

This commit is contained in:
zhangyu
2023-10-24 18:16:23 +08:00
parent d34e16a2b2
commit 5fa248cfb3

View File

@@ -56,9 +56,17 @@
</div>
</template>
<template v-else-if="item.prop === 'category'">
<div>
{{scope.row.type ? scope.row.type.category : '-'}}
</div>
<div>
{{scope.row.type ? scope.row.type.category : '-'}}
</div>
</template>
<template v-else-if="item.prop === 'loginlimit'">
<div v-if="scope.row.loginlimit">
{{scope.row.loginlimit == -1 ? '∞': scope.row.loginlimit}}
</div>
<div v-else>
'-'
</div>
</template>
<span v-else-if="item.prop === 'production_date' || item.prop === 'expiration_date'">{{ scope.row[item.prop] ? momentTz(scope.row[item.prop] * 1000) : '-'}}</span>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>