You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notapad () {
let self = this
let typeFilter = () => self.screen_type ? todo => todo.type === self.screen_type : todo => todo
let titleFilter = () => self.screen_title
? todo => todo.content.indexOf(self.screen_title) !== -1
: todo => todo
return self.$store.getters.getEventList.filter(typeFilter()).filter(titleFilter())
// return self.$store.getters.getEventList.filter(function (d) {
// if (self.screen_type !== 0 && self.screen_title === '') {
// if (d.type === self.screen_type) {
// return d
// }
// } else if (self.screen_type !== 0 && self.screen_title !== '') {
// if (d.type === self.screen_type && d.content.indexOf(self.screen_title) !== -1) {
// return d
// }
// } else if (self.screen_type === 0 && self.screen_title !== '') {
// if (d.content.indexOf(self.screen_title) !== -1) {
// return d
// }
// } else {
// return d
// }
// })
},
The text was updated successfully, but these errors were encountered:
notapad () {
let self = this
let typeFilter = () => self.screen_type ? todo => todo.type === self.screen_type : todo => todo
let titleFilter = () => self.screen_title
? todo => todo.content.indexOf(self.screen_title) !== -1
: todo => todo
return self.$store.getters.getEventList.filter(typeFilter()).filter(titleFilter())
The text was updated successfully, but these errors were encountered: