ip管理表格添加提取地区列 & 提取IP取消运营商字段选项 & 调整购买页价格显示问题

This commit is contained in:
Eamon-meng
2026-06-23 14:31:50 +08:00
parent 94ab3f55a8
commit dc877c3ea0
6 changed files with 26 additions and 9 deletions

View File

@@ -178,6 +178,21 @@ export default function ChannelsPage(props: ChannelsPageProps) {
header: '代理地址',
cell: ({row}) => <Addr channel={row.original}/>,
},
{
header: '地区',
cell: ({row}) => {
const prov = row.original.filter_prov
const city = row.original.filter_city
const parts = []
if (prov && prov !== 'all') parts.push(prov)
if (city && city !== 'all') parts.push(city)
return (
<div className="text-sm">
{parts.length > 0 ? parts.join(' / ') : '不限'}
</div>
)
},
},
{
header: '认证方式',
cell: ({row}) => {