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

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

View File

@ -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",

View File

@ -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: {

View File

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