style(接口测试): 循环控制器状态样式显示调整

--bug=1021456 --user=赵勇 【接口测试】单独执行场景里的循环控制器,循环控制器error颜色错误,步骤没有执行结果 https://www.tapd.cn/55049933/s/1321770
This commit is contained in:
fit2-zhao 2023-01-03 09:47:05 +08:00 committed by fit2-zhao
parent b3adadc6f4
commit 8d92d8f91b
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@
</span>
<span
class="ms-step-debug-code"
:class="node.data.code === 'ERROR' ? 'ms-req-error' : 'ms-req-success'"
:class="node.data.code && node.data.code.toUpperCase() === 'ERROR' ? 'ms-req-error' : 'ms-req-success'"
v-if="!loading && !node.data.testing && node.data.debug">
{{ getCode() }}
</span>