diff --git a/Cunkebao/src/pages/mobile/mine/traffic-pool/list/index.tsx b/Cunkebao/src/pages/mobile/mine/traffic-pool/list/index.tsx index fb1e6b0c..c5c6306d 100644 --- a/Cunkebao/src/pages/mobile/mine/traffic-pool/list/index.tsx +++ b/Cunkebao/src/pages/mobile/mine/traffic-pool/list/index.tsx @@ -145,7 +145,7 @@ const TrafficPoolList: React.FC = () => { // 可以添加成功提示 Toast.show({ - content: `成功将${selectedIds.length}个用户加入分组`, + content: `成功将用户加入分组`, position: "top", }); } catch (error) { @@ -174,6 +174,12 @@ const TrafficPoolList: React.FC = () => { return cleanup; }, [debouncedSearch]); + const handSearch = (value: string) => { + setSearchInput(value); + setSelectedIds([]); + debouncedSearch(); + }; + return ( { setSearchInput(e.target.value)} + onChange={e => handSearch(e.target.value)} prefix={} allowClear size="large"