mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复动态组件弹窗动画问题
This commit is contained in:
@ -168,12 +168,16 @@ const businessId = ref<CommonType.IdType>();
|
||||
const taskId = ref<CommonType.IdType>();
|
||||
|
||||
async function handleView(row: Api.Workflow.Task) {
|
||||
dynamicComponent.value = null;
|
||||
viewVisible.value = false;
|
||||
businessId.value = row.businessId;
|
||||
taskId.value = row.id;
|
||||
const formPath = row.formPath;
|
||||
if (!formPath) return;
|
||||
dynamicComponent.value = await loadDynamicComponent(modules, formPath);
|
||||
showViewDrawer();
|
||||
setTimeout(() => {
|
||||
showViewDrawer();
|
||||
}, 300);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user