refactor(dealer): 修改客户交易页面搜索关键字长度限制

-将搜索关键字的最小长度要求从 3 个字符增加到4 个字符
- 相应地更新了错误提示信息
This commit is contained in:
2025-09-16 23:53:46 +08:00
parent cb40ed7cb7
commit 3fcfa329e9

View File

@@ -90,9 +90,9 @@ const CustomerTrading = () => {
// 搜索处理函数 // 搜索处理函数
const handleSearch = (keyword: string) => { const handleSearch = (keyword: string) => {
if(keyword.length < 3){ if(keyword.length < 4){
Taro.showToast({ Taro.showToast({
title: '请输入至少3个字符', title: '请输入至少4个字符',
icon: 'none' icon: 'none'
}); });
return; return;