refactor: 使用映射方式替换iframe来显示流程详情

This commit is contained in:
dap
2025-08-08 10:07:16 +08:00
parent 46e642a2ce
commit c401a3092f
8 changed files with 73 additions and 118 deletions

View File

@@ -96,9 +96,7 @@ export const columns: VxeGridProps['columns'] = [
},
];
export const modalSchema: (isEdit: boolean) => VbenFormSchema[] = (
isEdit: boolean,
) => [
export const modalSchema: () => VbenFormSchema[] = () => [
{
label: '主键',
fieldName: 'id',
@@ -120,7 +118,6 @@ export const modalSchema: (isEdit: boolean) => VbenFormSchema[] = (
defaultValue: 'leave1',
rules: 'selectRequired',
dependencies: {
show: () => isEdit,
triggerFields: [''],
},
},