Commit 97e3472b by zhaochengxiang

bug fix

parent fc0df335
...@@ -654,7 +654,8 @@ const AssetTree = (props) => { ...@@ -654,7 +654,8 @@ const AssetTree = (props) => {
style={{ width: '100%' }} style={{ width: '100%' }}
> >
<Spin spinning={loading}> <Spin spinning={loading}>
<AutoComplete {
viewSelectedKeyRef.current === 'dir' && <AutoComplete
allowClear allowClear
value={keyword} value={keyword}
style={{ marginBottom: 10, width: '100%' }} style={{ marginBottom: 10, width: '100%' }}
...@@ -676,6 +677,7 @@ const AssetTree = (props) => { ...@@ -676,6 +677,7 @@ const AssetTree = (props) => {
}) })
} }
</AutoComplete> </AutoComplete>
}
<Tree <Tree
showLine={true} showLine={true}
showIcon={false} showIcon={false}
......
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