Browse Source

1.搜索字符长度限制改为100个

huangxiaodong 1 week ago
parent
commit
4c3c0b42a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      创维盒子/code/NAS/search/searchBarSecondTypeView.m

+ 2 - 2
创维盒子/code/NAS/search/searchBarSecondTypeView.m

@@ -104,8 +104,8 @@
         _searchButton.enabled = NO;
     }
     
-    if ([beString length] > 16) {
-      textField.text = [beString substringToIndex:16];
+    if ([beString length] > 100) {
+      textField.text = [beString substringToIndex:100];
       return NO;
     }
     return YES;