fix(测试计划): 执行脑图-修复没有执行权限点击步骤描述有弹窗的缺陷
This commit is contained in:
parent
99ee96da02
commit
9842103d3e
|
@ -767,7 +767,11 @@
|
|||
}
|
||||
|
||||
// 点步骤描述下的【步骤描述/预期结果/实际结果】标签
|
||||
if ([actualResultTag, stepTag, stepExpectTag].some((item) => node.data?.resource?.includes(item))) {
|
||||
if (
|
||||
[actualResultTag, stepTag, stepExpectTag].some((item) => node.data?.resource?.includes(item)) &&
|
||||
props.canEdit &&
|
||||
hasAnyPermission(['PROJECT_TEST_PLAN:READ+EXECUTE'])
|
||||
) {
|
||||
caseNodeAboveSelectStep.value = getCaseNodeWithResource(node, stepTag);
|
||||
if (caseNodeAboveSelectStep.value?.data?.id) {
|
||||
getStepData(caseNodeAboveSelectStep.value.data.id);
|
||||
|
|
Loading…
Reference in New Issue