From 6a72da7900390c3048d7eb07a8e93ed776f5676b Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期四, 16 一月 2025 13:28:22 +0800 Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑 --- src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue b/src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue index 494b3d9..7bf4f0e 100644 --- a/src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue +++ b/src/components/bpmnProcessDesigner/package/penal/properties/ElementProperties.vue @@ -75,17 +75,16 @@ const bpmnInstances = () => (window as any)?.bpmnInstances const resetAttributesList = () => { - console.log(window, 'windowwindowwindowwindowwindowwindowwindow') bpmnElement.value = bpmnInstances().bpmnElement otherExtensionList.value = [] // 其他扩展配置 bpmnElementProperties.value = // bpmnElement.value.businessObject?.extensionElements?.filter((ex) => { - bpmnElement.value.businessObject?.extensionElements?.values.filter((ex) => { + bpmnElement.value.businessObject?.extensionElements?.values?.filter((ex) => { if (ex.$type !== `${prefix}:Properties`) { otherExtensionList.value.push(ex) } return ex.$type === `${prefix}:Properties` - }) ?? [] + }) ?? []; // 保存所有的 扩展属性字段 bpmnElementPropertyList.value = bpmnElementProperties.value.reduce( -- Gitblit v1.9.3