Commit e55e5b45 by zhaochengxiang

增加搜索目录提示

parent 65a92cb2
...@@ -750,6 +750,7 @@ const AssetManageTree = (props) => { ...@@ -750,6 +750,7 @@ const AssetManageTree = (props) => {
allowClear allowClear
value={keyword} value={keyword}
style={{ marginBottom: 10, width: '100%' }} style={{ marginBottom: 10, width: '100%' }}
placeholder='搜索目录'
onSelect={onAutoCompleteSelect} onSelect={onAutoCompleteSelect}
onSearch={onAutoCompleteSearch} onSearch={onAutoCompleteSearch}
onClear={() => { setKeyword(''); }} onClear={() => { setKeyword(''); }}
......
...@@ -551,6 +551,7 @@ const AssetTree = (props) => { ...@@ -551,6 +551,7 @@ const AssetTree = (props) => {
allowClear allowClear
value={keyword} value={keyword}
style={{ marginBottom: 10, width: '100%' }} style={{ marginBottom: 10, width: '100%' }}
placeholder='搜索目录'
onSelect={onAutoCompleteSelect} onSelect={onAutoCompleteSelect}
onSearch={onAutoCompleteSearch} onSearch={onAutoCompleteSearch}
onClear={() => { setKeyword(''); }} onClear={() => { setKeyword(''); }}
......
...@@ -562,6 +562,7 @@ const ModelTree = (props) => { ...@@ -562,6 +562,7 @@ const ModelTree = (props) => {
allowClear allowClear
value={searchKeyword} value={searchKeyword}
style={{ marginBottom: 10, width: '100%' }} style={{ marginBottom: 10, width: '100%' }}
placeholder='搜索目录'
onSelect={onAutoCompleteSelect} onSelect={onAutoCompleteSelect}
onSearch={onAutoCompleteSearch} onSearch={onAutoCompleteSearch}
onChange={onAutoCompleteChange} onChange={onAutoCompleteChange}
......
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