fix(接口测试): 场景插件表单保存问题修复
This commit is contained in:
parent
141790c4c9
commit
da4be74858
|
@ -9,6 +9,7 @@
|
||||||
:ok-disabled="requestVModel.executeLoading || (isHttpProtocol && !requestVModel.url)"
|
:ok-disabled="requestVModel.executeLoading || (isHttpProtocol && !requestVModel.url)"
|
||||||
:handle-before-cancel="handleBeforeCancel"
|
:handle-before-cancel="handleBeforeCancel"
|
||||||
show-full-screen
|
show-full-screen
|
||||||
|
unmount-on-close
|
||||||
@confirm="handleSave"
|
@confirm="handleSave"
|
||||||
@continue="handleContinue"
|
@continue="handleContinue"
|
||||||
@close="handleClose"
|
@close="handleClose"
|
||||||
|
@ -214,7 +215,7 @@
|
||||||
class="sticky-content no-content relative top-0 mx-[16px] border-b"
|
class="sticky-content no-content relative top-0 mx-[16px] border-b"
|
||||||
@tab-click="requestTabClick"
|
@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">
|
<a-spin class="request block h-full w-full" :loading="requestVModel.executeLoading || loading">
|
||||||
<div class="request-tab-pane flex flex-col p-[16px]">
|
<div class="request-tab-pane flex flex-col p-[16px]">
|
||||||
<a-spin
|
<a-spin
|
||||||
|
@ -1331,6 +1332,7 @@
|
||||||
if (requestVModel.value.protocol === 'HTTP') {
|
if (requestVModel.value.protocol === 'HTTP') {
|
||||||
setDefaultActiveTab();
|
setDefaultActiveTab();
|
||||||
}
|
}
|
||||||
|
handleActiveDebugProtocolChange(requestVModel.value.protocol);
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
isSwitchingContent.value = false;
|
isSwitchingContent.value = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue