mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2025-10-14 13:50:28 +00:00
fix 修复 提交流程报错 loading未关闭问题
This commit is contained in:
@@ -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(() => {});
|
||||
|
Reference in New Issue
Block a user