30730
This commit is contained in:
@@ -51,13 +51,7 @@ export default {
|
|||||||
this.userList = []
|
this.userList = []
|
||||||
this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => {
|
this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
// let userArr = res.data.records.map(e => ({userId: e.createUserId, isChecked: this.isSelected(e.createUserId)}))
|
|
||||||
this.userList = res.data.map(e => ({userId: e, isChecked: this.isSelected(e)}))
|
this.userList = res.data.map(e => ({userId: e, isChecked: this.isSelected(e)}))
|
||||||
// userArr.forEach(item=> {
|
|
||||||
// if(!this.userList.find(o=> o.userId === item.userId)) {
|
|
||||||
// this.userList.push(item)
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user