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; buttonObj.value[e.code] = e.show;
}); });
buttonDisabled.value = false; buttonDisabled.value = false;
const data = { try {
taskId: taskId.value, const data = {
variables: props.taskVariables taskId: taskId.value,
}; variables: props.taskVariables
const nextData = await getNextNodeList(data); };
nestNodeList.value = nextData.data; const nextData = await getNextNodeList(data);
loading.value = false; nestNodeList.value = nextData.data;
} finally {
loading.value = false;
}
}; };
onMounted(() => {}); onMounted(() => {});