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:
@ -214,10 +214,11 @@ const businessId = ref<CommonType.IdType>();
|
||||
async function handleView(row: Api.Workflow.TaskOrHisTask) {
|
||||
businessId.value = row.businessId;
|
||||
const formPath = row.formPath;
|
||||
if (formPath) {
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
if (!formPath) {
|
||||
return;
|
||||
}
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
}
|
||||
|
||||
const taskId = ref<CommonType.IdType>('');
|
||||
|
Reference in New Issue
Block a user