接口路径

This commit is contained in:
shijingjing
2022-08-02 14:47:37 +08:00
parent ea7bcce82f
commit 2f9c3aebb0

View File

@@ -49,7 +49,7 @@ export default {
}, },
getCreateUserList() { getCreateUserList() {
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)})) // 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)}))