diff --git a/src/views/system/notifyManage/index.vue b/src/views/system/notifyManage/index.vue index bcff959..70dfc89 100644 --- a/src/views/system/notifyManage/index.vue +++ b/src/views/system/notifyManage/index.vue @@ -219,12 +219,12 @@ export default { const arrTo = [] const arrVal = [] item.pushTo.forEach(i => { - if (arrTo.indexOf(i) === -1) { + if (arrTo.indexOf(i) === -1 && i !== null) { arrTo.push(i) } }) item.pushVal.forEach(i => { - if (arrVal.indexOf(i) === -1) { + if (arrVal.indexOf(i) === -1 && i !== null) { arrVal.push(i) } })