Browse Source

通知管理去除空名字

master
Dorothy 2 years ago
parent
commit
ac4088543d
  1. 4
      src/views/system/notifyManage/index.vue

4
src/views/system/notifyManage/index.vue

@ -219,12 +219,12 @@ export default {
const arrTo = [] const arrTo = []
const arrVal = [] const arrVal = []
item.pushTo.forEach(i => { item.pushTo.forEach(i => {
if (arrTo.indexOf(i) === -1) {
if (arrTo.indexOf(i) === -1 && i !== null) {
arrTo.push(i) arrTo.push(i)
} }
}) })
item.pushVal.forEach(i => { item.pushVal.forEach(i => {
if (arrVal.indexOf(i) === -1) {
if (arrVal.indexOf(i) === -1 && i !== null) {
arrVal.push(i) arrVal.push(i)
} }
}) })

Loading…
Cancel
Save