Commit c7f61c06 by zhaochengxiang

模型目录搜索

parent 979ad42e
...@@ -434,7 +434,6 @@ const ModelTree = (props) => { ...@@ -434,7 +434,6 @@ const ModelTree = (props) => {
} }
const onAutoCompleteSearch = (searchText) => { const onAutoCompleteSearch = (searchText) => {
setSearchKeyword(searchText);
setOptions( setOptions(
!searchText ? [] : (dataList||[]).filter(item => item.title.indexOf(searchText)!==-1), !searchText ? [] : (dataList||[]).filter(item => item.title.indexOf(searchText)!==-1),
); );
......
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