diff --git a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue index 6a7d7562af..884e0221f0 100644 --- a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue @@ -287,28 +287,20 @@ export default { }, handleReceivers(row) { let testPlanReceivers = JSON.parse(JSON.stringify(this.defectReceiverOptions)); - let i = row.userIds.indexOf('PROCESSOR'); let i2 = row.userIds.indexOf('CREATOR'); switch (row.event) { case "CREATE": if (i2 > -1) { row.userIds.splice(i2, 1); } - if (i > -1) { - row.userIds.splice(i, 1); - } break; case "UPDATE": case "STATUS_CHANGE": - testPlanReceivers.unshift({id: 'PROCESSOR', name: '处理人'}); testPlanReceivers.unshift({id: 'CREATOR', name: this.$t('commons.create_user')}); if (row.isSet) { if (i2 < 0) { row.userIds.unshift('CREATOR'); } - if (i < 0) { - row.userIds.unshift('PROCESSOR'); - } } break; case "DELETE": @@ -318,9 +310,6 @@ export default { row.userIds.unshift('CREATOR'); } } - if (i > -1) { - row.userIds.splice(i, 1); - } break; default: break;