fix: 修复新增监听器错误问题moddleExtensions
parent
ffe870872f
commit
559caf1fdc
|
|
@ -38,10 +38,10 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@riophae/vue-treeselect": "0.4.0",
|
"@riophae/vue-treeselect": "0.4.0",
|
||||||
"axios": "0.24.0",
|
"axios": "0.24.0",
|
||||||
"bpmn-js": "7.5.0",
|
"bpmn-js": "^11.1.0",
|
||||||
"clipboard": "2.0.8",
|
"clipboard": "2.0.8",
|
||||||
"core-js": "3.25.3",
|
"core-js": "3.25.3",
|
||||||
"diagram-js": "5.1.1",
|
"diagram-js": "^11.4.1",
|
||||||
"echarts": "5.4.0",
|
"echarts": "5.4.0",
|
||||||
"element-ui": "2.15.10",
|
"element-ui": "2.15.10",
|
||||||
"file-saver": "2.0.5",
|
"file-saver": "2.0.5",
|
||||||
|
|
@ -62,8 +62,7 @@
|
||||||
"vue-router": "3.4.9",
|
"vue-router": "3.4.9",
|
||||||
"vuedraggable": "2.24.3",
|
"vuedraggable": "2.24.3",
|
||||||
"vuex": "3.6.0",
|
"vuex": "3.6.0",
|
||||||
"xcrud": "0.4.1",
|
"xcrud": "^0.4.19"
|
||||||
"bpmn-moddle": "7.0.4"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/parser": "^7.20.5",
|
"@babel/parser": "^7.20.5",
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,9 @@ export default {
|
||||||
const cache = JSON.parse(JSON.stringify(this.element.businessObject.loopCharacteristics ?? {}))
|
const cache = JSON.parse(JSON.stringify(this.element.businessObject.loopCharacteristics ?? {}))
|
||||||
cache.completionCondition = cache.completionCondition?.body
|
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)
|
this.formData = formatJsonKeyValue(cache)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ export default {
|
||||||
translate: ['value', customTranslate]
|
translate: ['value', customTranslate]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
moduleExtensions: {
|
moddleExtensions: {
|
||||||
flowable: FlowableModule
|
flowable: FlowableModule
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue