fix(接口测试): 场景插件表单保存问题修复

This commit is contained in:
baiqi 2024-07-30 10:21:34 +08:00 committed by Craftsman
parent 335c2ca0c8
commit 3e490cadf2
1 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
:ok-disabled="requestVModel.executeLoading || (isHttpProtocol && !requestVModel.url)"
:handle-before-cancel="handleBeforeCancel"
show-full-screen
unmount-on-close
@confirm="handleSave"
@continue="handleContinue"
@close="handleClose"
@ -214,7 +215,7 @@
class="sticky-content no-content relative top-0 mx-[16px] border-b"
@tab-click="requestTabClick"
/>
<div v-if="visible" :class="`request-content-and-response ${activeLayout}`">
<div :class="`request-content-and-response ${activeLayout}`">
<a-spin class="request block h-full w-full" :loading="requestVModel.executeLoading || loading">
<div class="request-tab-pane flex flex-col p-[16px]">
<a-spin
@ -1331,6 +1332,7 @@
if (requestVModel.value.protocol === 'HTTP') {
setDefaultActiveTab();
}
handleActiveDebugProtocolChange(requestVModel.value.protocol);
nextTick(() => {
isSwitchingContent.value = false;
});