diff --git a/apps/web-antdv-next/src/api/bpm/processInstance/index.ts b/apps/web-antdv-next/src/api/bpm/processInstance/index.ts index 7199ba360..8ed2116c5 100644 --- a/apps/web-antdv-next/src/api/bpm/processInstance/index.ts +++ b/apps/web-antdv-next/src/api/bpm/processInstance/index.ts @@ -84,7 +84,6 @@ export namespace BpmProcessInstanceApi { reason: string; signPicUrl: string; status: number; - attachments?: string[]; } /** 抄送流程实例 */ diff --git a/apps/web-antdv-next/src/components/description/use-description.ts b/apps/web-antdv-next/src/components/description/use-description.ts index e3b676af2..9559cb648 100644 --- a/apps/web-antdv-next/src/components/description/use-description.ts +++ b/apps/web-antdv-next/src/components/description/use-description.ts @@ -21,7 +21,6 @@ export function useDescription(options?: Partial) { inheritAttrs: false, setup(_props, { attrs, slots }) { return () => { - // @ts-expect-error - 避免类型实例化过深 return h(Description, { ...propsState, ...attrs }, slots); }; }, diff --git a/apps/web-antdv-next/src/components/table-action/typing.ts b/apps/web-antdv-next/src/components/table-action/typing.ts index 0c0e0088e..414008223 100644 --- a/apps/web-antdv-next/src/components/table-action/typing.ts +++ b/apps/web-antdv-next/src/components/table-action/typing.ts @@ -10,7 +10,7 @@ export interface PopConfirm { disabled?: boolean; } -export interface ActionItem extends ButtonProps { +export interface ActionItem extends Omit { onClick?: () => void; type?: ButtonType; label?: string; diff --git a/apps/web-antdv-next/src/components/tinymce/img-upload.vue b/apps/web-antdv-next/src/components/tinymce/img-upload.vue index fd94b9195..7376f0e73 100644 --- a/apps/web-antdv-next/src/components/tinymce/img-upload.vue +++ b/apps/web-antdv-next/src/components/tinymce/img-upload.vue @@ -33,7 +33,7 @@ const getButtonProps = computed(() => { }; }); -async function customRequest(info: UploadRequestOption) { +async function customRequest(info: UploadRequestOption) { // 1. emit 上传中 const file = info.file as File; const name = file?.name; diff --git a/apps/web-antdv-next/src/views/bpm/components/simple-process-design/components/nodes/parallel-node.vue b/apps/web-antdv-next/src/views/bpm/components/simple-process-design/components/nodes/parallel-node.vue index b08499cbd..2728c298e 100644 --- a/apps/web-antdv-next/src/views/bpm/components/simple-process-design/components/nodes/parallel-node.vue +++ b/apps/web-antdv-next/src/views/bpm/components/simple-process-design/components/nodes/parallel-node.vue @@ -139,7 +139,7 @@ function recursiveFindParentNode(