From c2ad5dfa6a8fcb39e6276c9b254387aa86dfd04f Mon Sep 17 00:00:00 2001 From: teukkk Date: Wed, 16 Oct 2024 18:37:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0api=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-minders/testPlanFeatureCaseMinder/index.vue | 1 + .../src/views/api-test/components/requestComposition/index.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue b/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue index a34fe2df2c..301d156e24 100644 --- a/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue +++ b/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue @@ -674,6 +674,7 @@ if (extraVisible.value && activeExtraKey.value === 'history') { initExecuteHistory(node.data); } + window.minder.refresh(); } else if (isModuleOrCollection(node.data)) { // 先清空子节点,从后向前遍历时,删除节点不会影响到尚未遍历的节点 for (let i = node.children.length - 1; i >= 0; i--) { diff --git a/frontend/src/views/api-test/components/requestComposition/index.vue b/frontend/src/views/api-test/components/requestComposition/index.vue index 993fbbdec5..154a8ff364 100644 --- a/frontend/src/views/api-test/components/requestComposition/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/index.vue @@ -1309,8 +1309,9 @@ try { if (!props.updateApi) return; saveLoading.value = true; + const requestParams = await makeRequestParams(); const res = await props.updateApi({ - ...makeRequestParams(), + ...requestParams, ...props.otherParams, }); Message.success(t('common.updateSuccess'));