--修复动态组件导入路径错误

This commit is contained in:
2025-12-18 14:40:10 +08:00
parent fa88795dbd
commit cb1e366843
6 changed files with 8 additions and 5 deletions

View File

@ -185,7 +185,7 @@
});
}
return defineAsyncComponent({
loader: () => import(`/@/views/${data.formInfos[0]?.functionalModule}/${data.formInfos[0]?.functionName}/components/createForm.vue`)
loader: () => import(`../../views/${data.formInfos[0]?.functionalModule}/${data.formInfos[0]?.functionName}/components/createForm.vue`)
});
});
function showButton(btn) {