From 9f1c4f25784854b685131d0a27d278b9937f79aa Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 23 Nov 2025 17:57:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E3=80=90bpm=E3=80=91bpmn=20?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8=EF=BC=9A=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E7=9A=84?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=B8=8D=E8=B5=B7=E4=BD=9C=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=20https://t.zsxq.com/XtLYq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UserTaskCustomConfig.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/penal/custom-config/components/UserTaskCustomConfig.vue b/src/components/bpmnProcessDesigner/package/penal/custom-config/components/UserTaskCustomConfig.vue index 3c748ff6..ac495ff8 100644 --- a/src/components/bpmnProcessDesigner/package/penal/custom-config/components/UserTaskCustomConfig.vue +++ b/src/components/bpmnProcessDesigner/package/penal/custom-config/components/UserTaskCustomConfig.vue @@ -117,7 +117,7 @@ />
- +
@@ -241,7 +241,13 @@ const assignEmptyUserIds = ref() // 操作按钮 const buttonsSettingEl = ref() -const { btnDisplayNameEdit, changeBtnDisplayName, btnDisplayNameBlurEvent } = useButtonsSetting() +const { btnDisplayNameEdit, changeBtnDisplayName } = useButtonsSetting() +const btnDisplayNameBlurEvent = (index: number) => { + btnDisplayNameEdit.value[index] = false + const buttonItem = buttonsSettingEl.value[index] + buttonItem.displayName = buttonItem.displayName || OPERATION_BUTTON_NAME.get(buttonItem.id)! + updateElementExtensions() +} // 字段权限 const fieldsPermissionEl = ref([]) @@ -495,16 +501,10 @@ function useButtonsSetting() { const changeBtnDisplayName = (index: number) => { btnDisplayNameEdit.value[index] = true } - const btnDisplayNameBlurEvent = (index: number) => { - btnDisplayNameEdit.value[index] = false - const buttonItem = buttonsSetting.value![index] - buttonItem.displayName = buttonItem.displayName || OPERATION_BUTTON_NAME.get(buttonItem.id)! - } return { buttonsSetting, btnDisplayNameEdit, - changeBtnDisplayName, - btnDisplayNameBlurEvent + changeBtnDisplayName } }