diff --git a/src/pages/swiper/index.tsx b/src/pages/swiper/index.tsx index fa2584e..477ed2d 100644 --- a/src/pages/swiper/index.tsx +++ b/src/pages/swiper/index.tsx @@ -87,7 +87,11 @@ const Swiper: FC = () => { }, { title: '类型', - dataIndex: 'dapp_type' + dataIndex: 'dapp_type', + render: (type) => { + let item = optionTypes.find(item => item.value === `${type}`) + return
{item ? item.label : type}
+ } }, { title: '网页地址', @@ -158,26 +162,10 @@ const Swiper: FC = () => { value: '42161', label: 'Arbitrum One' }, - { - value: '137', - label: 'Polygon Mainnet' - }, { value: '10', label: 'OP Mainnet' }, - { - value: '100', - label: 'xDai Chain' - }, - { - value: '10', - label: 'OP Mainnet' - }, - { - value: '314', - label: 'Filecoin Mainnet' - }, { value: '97', label: 'BSC Testnet'