diff --git a/Cunkebao/src/components/PoolSelection/index.tsx b/Cunkebao/src/components/PoolSelection/index.tsx index 715c1a13..184fd1e8 100644 --- a/Cunkebao/src/components/PoolSelection/index.tsx +++ b/Cunkebao/src/components/PoolSelection/index.tsx @@ -82,7 +82,9 @@ export default function PoolSelection({ {selectedOptions.map(item => (
- +
+ {(item.nickname || item.name || "").charAt(0)} +
{item.nickname || item.name}
{item.wechatId || item.mobile}
diff --git a/Cunkebao/src/pages/mobile/test/select.tsx b/Cunkebao/src/pages/mobile/test/select.tsx index f586895e..a24e53ac 100644 --- a/Cunkebao/src/pages/mobile/test/select.tsx +++ b/Cunkebao/src/pages/mobile/test/select.tsx @@ -36,7 +36,7 @@ const ComponentTest: React.FC = () => { const [selectedFriendsOptions, setSelectedFriendsOptions] = useState< FriendSelectionItem[] >([]); - + // 流量池选择状态 const [selectedPools, setSelectedPools] = useState([]); return ( @@ -160,7 +160,7 @@ const ComponentTest: React.FC = () => {
- +

PoolSelection 组件测试