fix: 修改紧急bug断言脚本不展示问题_serious

This commit is contained in:
xinxin.wu 2024-05-11 12:08:16 +08:00 committed by 刘瑞斌
parent d0a89a6439
commit 23fddfc8dd
2 changed files with 10 additions and 10 deletions

View File

@ -124,16 +124,16 @@
@change="handleChange"
/>
<!-- 脚本 -->
<ScriptTab
v-if="getCurrentItemState.assertionType === ResponseAssertionType.SCRIPT"
v-model:data="getCurrentItemState"
:disabled="props.disabled"
:script-code-editor-height="props.scriptCodeEditorHeight"
@change="handleChange"
@delete-script-item="deleteScriptItem"
@copy="copyItem"
/>
</div>
<ScriptTab
v-if="getCurrentItemState.assertionType === ResponseAssertionType.SCRIPT"
v-model:data="getCurrentItemState"
:disabled="props.disabled"
:script-code-editor-height="props.scriptCodeEditorHeight"
@change="handleChange"
@delete-script-item="deleteScriptItem"
@copy="copyItem"
/>
</div>
</div>
</div>

View File

@ -5,7 +5,7 @@
width="16px"
height="16px"
:name="visible ? 'filter-icon-color' : 'filter-icon'"
class="text-[12px] font-medium text-[rgb(var(--danger-6))]"
class="text-[12px] font-medium"
/>
</span>
<template #content>