refactor(dealer): 修改客户交易页面搜索关键字长度限制
-将搜索关键字的最小长度要求从 3 个字符增加到4 个字符 - 相应地更新了错误提示信息
This commit is contained in:
@@ -90,9 +90,9 @@ const CustomerTrading = () => {
|
||||
|
||||
// 搜索处理函数
|
||||
const handleSearch = (keyword: string) => {
|
||||
if(keyword.length < 3){
|
||||
if(keyword.length < 4){
|
||||
Taro.showToast({
|
||||
title: '请输入至少3个字符',
|
||||
title: '请输入至少4个字符',
|
||||
icon: 'none'
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user