Commit fdcc50cd authored by 涂伟's avatar 涂伟

fix: '人员机构搜索非空校验添加'

parent 63ab328d
......@@ -1160,10 +1160,10 @@ const UserManage = () => {
// 查找用户
const submitSearchUser = () => {
// if (!searchWord || searchWord.trim(' ').length == 0) {
// message.warning('请输入搜索内容');
// return;
// }
if (!searchWord || searchWord.trim(' ').length == 0) {
message.warning('请输入搜索内容');
return;
}
setTableLoading(true);
let data = searchWord != '' ? { key: searchWord } : '';
GetUserByKeyNew(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment