mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 13:38:58 +08:00
fix(接口测试): 修复更新api接口参数错误的缺陷
This commit is contained in:
parent
be339e568e
commit
c2ad5dfa6a
@ -674,6 +674,7 @@
|
|||||||
if (extraVisible.value && activeExtraKey.value === 'history') {
|
if (extraVisible.value && activeExtraKey.value === 'history') {
|
||||||
initExecuteHistory(node.data);
|
initExecuteHistory(node.data);
|
||||||
}
|
}
|
||||||
|
window.minder.refresh();
|
||||||
} else if (isModuleOrCollection(node.data)) {
|
} else if (isModuleOrCollection(node.data)) {
|
||||||
// 先清空子节点,从后向前遍历时,删除节点不会影响到尚未遍历的节点
|
// 先清空子节点,从后向前遍历时,删除节点不会影响到尚未遍历的节点
|
||||||
for (let i = node.children.length - 1; i >= 0; i--) {
|
for (let i = node.children.length - 1; i >= 0; i--) {
|
||||||
|
@ -1309,8 +1309,9 @@
|
|||||||
try {
|
try {
|
||||||
if (!props.updateApi) return;
|
if (!props.updateApi) return;
|
||||||
saveLoading.value = true;
|
saveLoading.value = true;
|
||||||
|
const requestParams = await makeRequestParams();
|
||||||
const res = await props.updateApi({
|
const res = await props.updateApi({
|
||||||
...makeRequestParams(),
|
...requestParams,
|
||||||
...props.otherParams,
|
...props.otherParams,
|
||||||
});
|
});
|
||||||
Message.success(t('common.updateSuccess'));
|
Message.success(t('common.updateSuccess'));
|
||||||
|
Loading…
Reference in New Issue
Block a user