fix(接口测试): 修复场景断言可以拖拽的缺陷
--bug=1013448 --user=王孝刚 【接口测试】场景断言-保持置顶显示-不支持拖动更换步骤位置 https://www.tapd.cn/55049933/s/1163878
This commit is contained in:
parent
a3b8ddf964
commit
9d008fcff8
|
@ -1513,6 +1513,9 @@ export default {
|
|||
this.getEnvironments();
|
||||
},
|
||||
allowDrop(draggingNode, dropNode, dropType) {
|
||||
if (draggingNode.data.type === 'Assertions' || dropNode.data.type === 'Assertions') {
|
||||
return false;
|
||||
}
|
||||
// 增加插件权限控制
|
||||
if (dropType != "inner") {
|
||||
if (draggingNode.data.disabled && draggingNode.parent && draggingNode.parent.data && draggingNode.parent.data.disabled) {
|
||||
|
|
Loading…
Reference in New Issue