From f2f564dc0c37671f97d7c3e48648d3623c383503 Mon Sep 17 00:00:00 2001 From: Siyu Kong Date: Tue, 21 Feb 2023 18:29:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=A7=84=E8=8C=83=E4=B8=8D=E7=AC=A6?= =?UTF-8?q?=E5=90=88eslint=E6=A0=A1=E9=AA=8C=E8=A7=84=E5=88=99=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../package/designer/ProcessDesigner.vue | 2 +- .../package/palette/ProcessPalette.vue | 7 ++-- .../package/penal/PropertiesPanel.vue | 15 ++++---- .../package/penal/base/ElementBaseInfo.vue | 7 ++-- .../penal/flow-condition/FlowCondition.vue | 25 ++++++------- .../package/penal/form/ElementForm.vue | 27 +++++++------- .../penal/listeners/ElementListeners.vue | 3 +- .../penal/listeners/UserTaskListeners.vue | 5 +-- .../multi-instance/ElementMultiInstance.vue | 35 ++++++++++--------- .../penal/other/ElementOtherConfig.vue | 9 ++--- .../penal/properties/ElementProperties.vue | 15 ++++---- .../penal/signal-message/SignalAndMessage.vue | 7 ++-- .../package/penal/task/ElementTask.vue | 5 +-- .../task/task-components/ReceiveTask.vue | 13 +++---- .../penal/task/task-components/ScriptTask.vue | 6 ++-- .../penal/task/task-components/UserTask.vue | 6 ++-- .../bpmnProcessDesigner/package/utils.ts | 17 ++++----- src/hooks/web/useI18n.ts | 1 + src/hooks/web/useTimeAgo.ts | 2 ++ src/types/auto-components.d.ts | 6 +++- src/types/auto-imports.d.ts | 5 ++- src/views/bpm/model/modelEditor.vue | 2 +- src/views/bpm/processInstance/detail.vue | 2 +- src/views/system/notify/my/index.vue | 2 +- 24 files changed, 127 insertions(+), 97 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue index 1f471f3e..977e945d 100644 --- a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue +++ b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue @@ -331,7 +331,7 @@ const additionalModules = computed(() => { // 插入用户自定义扩展模块 if (Object.prototype.toString.call(props.additionalModel) == '[object Array]') { - Modules.push(...props.additionalModel) + Modules.push(...(props.additionalModel as any[])) } else { props.additionalModel && Modules.push(props.additionalModel) } diff --git a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue index f5272840..38e4ba17 100644 --- a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue +++ b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue @@ -8,9 +8,10 @@