fix 修复 提交流程报错 loading未关闭问题

This commit is contained in:
疯狂的狮子Li
2025-07-06 11:33:18 +08:00
parent 94dcc28c8a
commit 093c05bda0

View File

@@ -258,13 +258,16 @@ const openDialog = async (id?: string) => {
buttonObj.value[e.code] = e.show;
});
buttonDisabled.value = false;
const data = {
taskId: taskId.value,
variables: props.taskVariables
};
const nextData = await getNextNodeList(data);
nestNodeList.value = nextData.data;
loading.value = false;
try {
const data = {
taskId: taskId.value,
variables: props.taskVariables
};
const nextData = await getNextNodeList(data);
nestNodeList.value = nextData.data;
} finally {
loading.value = false;
}
};
onMounted(() => {});