BPM:增加任务监听器、执行监听器的管理

This commit is contained in:
YunaiV
2024-03-23 15:58:38 +08:00
parent 728cf15c45
commit faf4557783
5 changed files with 407 additions and 12 deletions

View File

@ -139,17 +139,25 @@ const updateBaseInfo = (key) => {
}
}
watch(
() => props.businessObject,
(val) => {
// console.log(val, 'val11111111111111111111')
if (val) {
// nextTick(() => {
resetBaseInfo()
// })
}
}
)
onMounted(() => {
// 针对上传的 bpmn 流程图时,需要延迟 1 毫秒的时间,保证 key 和 name 的更新
setTimeout(() => {
handleKeyUpdate(props.model.key)
handleNameUpdate(props.model.name)
}, 1)
})
// watch(
// () => props.businessObject,
// (val) => {
// // console.log(val, 'val11111111111111111111')
// if (val) {
// // nextTick(() => {
// resetBaseInfo()
// // })
// }
// }
// )
watch(
() => props.model?.key,