From ac4088543d5110868f02da14189d191fbc72527c Mon Sep 17 00:00:00 2001 From: Dorothy <980411823@qq.com> Date: Tue, 30 Aug 2022 14:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=AE=A1=E7=90=86=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E7=A9=BA=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/notifyManage/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } })