fix(接口测试): 场景步骤移动问题修复
--bug=1008168 --user=赵勇 【接口自动化】-自定义请求不能添加条件控制器,但是场景外的条件控制器可以拖动到该请求中 https://www.tapd.cn/55049933/s/1093509
This commit is contained in:
parent
d152eda6cc
commit
7a754d9a71
|
@ -1299,7 +1299,10 @@ export default {
|
|||
if (draggingNode.data.disabled && draggingNode.parent && draggingNode.parent.data && draggingNode.parent.data.disabled) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
if (draggingNode && dropNode && draggingNode.level >= dropNode.level) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
} else if (dropType === "inner" && dropNode.data.referenced !== 'REF' && dropNode.data.referenced !== 'Deleted'
|
||||
&& (this.stepFilter.get(dropNode.data.type) && this.stepFilter.get(dropNode.data.type).indexOf(draggingNode.data.type) != -1)) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue