fix: 修复新增监听器错误问题moddleExtensions

This commit is contained in:
tony
2022-12-19 21:20:26 +08:00
parent ffe870872f
commit 559caf1fdc
3 changed files with 7 additions and 6 deletions

View File

@@ -83,7 +83,9 @@ export default {
const cache = JSON.parse(JSON.stringify(this.element.businessObject.loopCharacteristics ?? {}))
cache.completionCondition = cache.completionCondition?.body
// 拼接多实例对象
Object.assign(cache,this.element.businessObject.loopCharacteristics.$attrs)
if (this.element.businessObject.loopCharacteristics) {
Object.assign(cache, this.element.businessObject.loopCharacteristics.$attrs)
}
this.formData = formatJsonKeyValue(cache)
},
methods: {

View File

@@ -110,7 +110,7 @@ export default {
translate: ['value', customTranslate]
}
],
moduleExtensions: {
moddleExtensions: {
flowable: FlowableModule
}
})