|
@@ -87,7 +87,7 @@ class EditableSpan extends Component{
|
|
|
temp = newText.replace(searchPre,'');
|
|
|
isEnd = !(newText.indexOf(searchPre)>0);
|
|
|
search = temp.replace(/[(^\s*)|(\s*$)|(^\,*)|(\,*$)]/g,'');
|
|
|
- console.log(labelVal,'旧:',searchPre,'新:',newText,'搜索:',search);
|
|
|
+ //console.log(labelVal,'旧:',searchPre,'新:',newText,'搜索:',search);
|
|
|
if(config.punctuationReg.test(search)){ //只有标点符号时不搜索
|
|
|
handleSearch&&handleSearch({text:search,isEnd,boxMark,mainIds});
|
|
|
}
|