mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-23 13:59:28 +08:00
opti: 禁止接口列表和测试集列表接口的移动
This commit is contained in:
parent
87953484b1
commit
9901910d10
@ -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 => {
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user