mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(接口测试): 修复更新api接口参数错误的缺陷
This commit is contained in:
parent
be339e568e
commit
c2ad5dfa6a
@ -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--) {
|
||||
|
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user