Commit b88b0b88 by zhaochengxiang

目录拖动不限制

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