update 调整变量修改

This commit is contained in:
may
2025-07-25 23:20:03 +08:00
parent 7ea5199fd2
commit d95f358d1b
+2 -2
View File
@@ -455,8 +455,8 @@ const handleVariable = async (formEl: FormInstance | undefined) => {
await proxy?.$modal.confirm('是否确认提交?'); await proxy?.$modal.confirm('是否确认提交?');
await updateVariable(form.value); await updateVariable(form.value);
proxy?.$modal.msgSuccess('操作成功'); proxy?.$modal.msgSuccess('操作成功');
variableVisible.value = false; const data = await instanceVariable(instanceId.value);
await handleQuery(); variables.value = data.data.variable;
} }
}); });
}; };