fix(接口测试): 修复更新api接口参数错误的缺陷

This commit is contained in:
teukkk 2024-10-16 18:37:20 +08:00 committed by Craftsman
parent be339e568e
commit c2ad5dfa6a
2 changed files with 3 additions and 1 deletions

View File

@ -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--) {

View File

@ -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'));