fix(接口测试): 场景自定义请求上传文件修复

This commit is contained in:
baiqi 2024-12-17 15:44:19 +08:00 committed by Craftsman
parent 4598028bb8
commit 0b9fc2ef3d
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@
no-content-padding
:show-continue="true"
:footer="requestVModel.isNew === true"
:ok-disabled="requestVModel.executeLoading || (isHttpProtocol && !requestVModel.url)"
:ok-disabled="requestVModel.executeLoading || (isHttpProtocol && !requestVModel.url) || loading"
:handle-before-cancel="handleBeforeCancel"
show-full-screen
unmount-on-close
@ -1350,6 +1350,13 @@
}
);
watch(
() => appStore.loading,
(val) => {
loading.value = val;
}
);
watch(
() => visible.value,
async (val) => {

View File

@ -1084,6 +1084,13 @@
}
);
watch(
() => appStore.loading,
(val) => {
loading.value = val;
}
);
watch(
() => visible.value,
async (val) => {