搜索时去掉前后空格

This commit is contained in:
hanhh committed 2021-08-27 10:47:30 +08:00
1 parent 47bba19bec
commit 5832bf9140
3 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -427,7 +427,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
};
const onSearch = (value: string) => {
setSearchText(value);
setSearchText(value.trim());
};
useEffect(() => {