fix: 修改紧急bug断言脚本不展示问题_serious
This commit is contained in:
parent
d0a89a6439
commit
23fddfc8dd
|
@ -124,16 +124,16 @@
|
||||||
@change="handleChange"
|
@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>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
width="16px"
|
width="16px"
|
||||||
height="16px"
|
height="16px"
|
||||||
:name="visible ? 'filter-icon-color' : 'filter-icon'"
|
:name="visible ? 'filter-icon-color' : 'filter-icon'"
|
||||||
class="text-[12px] font-medium text-[rgb(var(--danger-6))]"
|
class="text-[12px] font-medium"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<template #content>
|
<template #content>
|
||||||
|
|
Loading…
Reference in New Issue