套餐管理添加IP检查状态字段 &修复套餐提取和购买的数量显示问题

This commit is contained in:
Eamon-meng
2026-04-22 10:27:19 +08:00
parent eb4c2d2d5f
commit 7ff42861f1
5 changed files with 28 additions and 19 deletions

View File

@@ -230,6 +230,17 @@ export default function ResourceList({resourceType}: ResourceListProps) {
)
},
},
{
header: 'IP检查状态',
cell: ({row}) => {
const checkip = row.original.checkip
return (
<span className={checkip ? 'text-green-500' : 'text-red-500'}>
{checkip ? '启用IP检查' : '停用IP检查'}
</span>
)
},
},
]
// 短效资源增加到期时间列