mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
optimize(projects): 优化代码
This commit is contained in:
@ -165,10 +165,9 @@ async function handleApproval(row: Api.Workflow.Task) {
|
||||
businessId.value = row.businessId;
|
||||
taskId.value = row.id;
|
||||
const formPath = row.formPath;
|
||||
if (formPath) {
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
}
|
||||
if (!formPath) return;
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user