Commit 3c2852c8 by zhaochengxiang

bug fix

parent 28b695b7
...@@ -754,6 +754,7 @@ const AssetManageTree = (props) => { ...@@ -754,6 +754,7 @@ const AssetManageTree = (props) => {
onSelect={onAutoCompleteSelect} onSelect={onAutoCompleteSelect}
onSearch={onAutoCompleteSearch} onSearch={onAutoCompleteSearch}
onClear={() => { setKeyword(''); }} onClear={() => { setKeyword(''); }}
notFoundContent={keyword?<span>暂无数据</span>:null}
> >
{ {
(options||[]).map((item, index) => { (options||[]).map((item, index) => {
......
...@@ -555,6 +555,7 @@ const AssetTree = (props) => { ...@@ -555,6 +555,7 @@ const AssetTree = (props) => {
onSelect={onAutoCompleteSelect} onSelect={onAutoCompleteSelect}
onSearch={onAutoCompleteSearch} onSearch={onAutoCompleteSearch}
onClear={() => { setKeyword(''); }} onClear={() => { setKeyword(''); }}
notFoundContent={keyword?<span>暂无数据</span>:null}
> >
{ {
(options||[]).map((item, index) => { (options||[]).map((item, index) => {
......
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