opti: 禁止接口列表和测试集列表接口的移动

This commit is contained in:
suxiaoxin 2017-11-16 15:08:15 +08:00
parent 87953484b1
commit 9901910d10
2 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,7 @@ export default class InterfaceColMenu extends Component {
onSelect={this.onSelect}
autoExpandParent
onExpand={this.onExpand}
ondragstart = {()=>{return false}}
>
{
this.props.interfaceColList.filter(col => {

View File

@ -438,6 +438,7 @@ class InterfaceMenu extends Component {
selectedKeys={currentKes.selects}
onSelect={this.onSelect}
onExpand={this.onExpand}
ondragstart = {()=>{return false}}
>
<TreeNode className="item-all-interface" title={<Link style={{ fontSize: '14px' }} to={"/project/" + matchParams.id + "/interface/api"}><Icon type="folder" style={{ marginRight: 5 }} />全部接口</Link>} key="root" />
{menuList.map((item) => {