Commit b88b0b88 by zhaochengxiang

目录拖动不限制

parent 7ccb84c7
......@@ -66,7 +66,7 @@ const AssetBrowse = (props) => {
width={230}
height={Infinity}
axis='x'
minConstraints={[230, Infinity]} maxConstraints={[500, Infinity]}
minConstraints={[230, Infinity]} maxConstraints={[Infinity, Infinity]}
>
<AssetTree centerId={centerId} onSelect={onTreeSelect} reference={reference} {...props} />
</ResizableBox>
......
......@@ -72,7 +72,7 @@ const AssetManage = (props) => {
width={230}
height={Infinity}
axis='x'
minConstraints={[230, Infinity]} maxConstraints={[500, Infinity]}
minConstraints={[230, Infinity]} maxConstraints={[Infinity, Infinity]}
>
<AssetTree onSelect={onTreeSelect} onDirectoryChange={onDirectoryChange} {...props} />
</ResizableBox>
......
......@@ -458,7 +458,7 @@ class Model extends React.Component {
width={230}
height={Infinity}
axis='x'
minConstraints={[230, Infinity]} maxConstraints={[500, Infinity]}
minConstraints={[230, Infinity]} maxConstraints={[Infinity, Infinity]}
>
<ModelTree onViewChange={this.onViewChange} onSelect={this.onTreeSelect} importStockModel={this.importStockModel} keyword={keyword} {...this.props} />
</ResizableBox>
......
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