feat: 更新依赖版本
This commit is contained in:
@@ -124,7 +124,6 @@ export default {
|
||||
})
|
||||
this.modeler.on('element.click', e => {
|
||||
const { element } = e
|
||||
// console.log(element)
|
||||
if (element.type === 'bpmn:Process') {
|
||||
this.element = element
|
||||
}
|
||||
|
||||
@@ -41,19 +41,10 @@ export function userTaskParse(obj) {
|
||||
for (const key in obj) {
|
||||
if (key === 'candidateUsers') {
|
||||
obj.userType = 'candidateUsers'
|
||||
// if (obj[key].toString().indexOf(",") !== -1) {
|
||||
//
|
||||
// }else {
|
||||
// obj[key] = obj[key].toString()?.split(',') || []
|
||||
// }
|
||||
obj[key] = obj[key]?.split(',') || []
|
||||
} else if (key === 'candidateGroups') {
|
||||
obj.userType = 'candidateGroups'
|
||||
obj[key] = obj[key]?.split(',') || []
|
||||
// if (obj[key].toString().indexOf(",") !== -1) {
|
||||
//
|
||||
// }else {
|
||||
// obj[key] = obj[key].toString()?.split(',') || []
|
||||
// }
|
||||
} else if (key === 'assignee') {
|
||||
obj.userType = 'assignee'
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
formConfig() {
|
||||
// const _this = this
|
||||
// const _this = this
|
||||
return {
|
||||
inline: false,
|
||||
item: [
|
||||
@@ -189,6 +189,6 @@ export default {
|
||||
|
||||
<style>
|
||||
.flow-containers .el-badge__content.is-fixed {
|
||||
top: 18px;
|
||||
top: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -91,6 +91,6 @@ export default {
|
||||
|
||||
<style>
|
||||
.flow-containers .el-badge__content.is-fixed {
|
||||
top: 18px;
|
||||
top: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
formConfig() {
|
||||
// const _this = this
|
||||
// const _this = this
|
||||
return {
|
||||
inline: false,
|
||||
item: [
|
||||
@@ -191,6 +191,6 @@ export default {
|
||||
|
||||
<style>
|
||||
.flow-containers .el-badge__content.is-fixed {
|
||||
top: 18px;
|
||||
top: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,6 @@ export default {
|
||||
},
|
||||
'bpmn:UserTask': {
|
||||
userType: true,
|
||||
dataType: true,
|
||||
assignee: true,
|
||||
candidateUsers: true,
|
||||
candidateGroups: true,
|
||||
|
||||
Reference in New Issue
Block a user