搜索时去掉前后空格

This commit is contained in:
hanhh
2021-08-27 10:47:30 +08:00
parent 47bba19bec
commit 5832bf9140
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
};
const onSearch = (value: string) => {
setSearchText(value);
setSearchText(value.trim());
};
const handleCrons = (cron: any) => {