|
@@ -223,6 +223,15 @@ export default {
|
|
watch: {
|
|
watch: {
|
|
modelValue() {
|
|
modelValue() {
|
|
this.nodeConfig = this.modelValue
|
|
this.nodeConfig = this.modelValue
|
|
|
|
+ },
|
|
|
|
+ 'form.setType': {
|
|
|
|
+ handler(type, oldType) {
|
|
|
|
+ // console.error(type, 'type, oldType', oldType)
|
|
|
|
+ if ([1, 3].includes(oldType)) {
|
|
|
|
+ // 上次setType 为 选择成员 or 角色时 对 nodeAssigneeList 重置
|
|
|
|
+ this.form.nodeAssigneeList = []
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|