mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
搜索时去掉前后空格
This commit is contained in:
Vendored
+1
-1
@@ -427,7 +427,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
|
||||
};
|
||||
|
||||
const onSearch = (value: string) => {
|
||||
setSearchText(value);
|
||||
setSearchText(value.trim());
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user