| | |
| | | } |
| | | } |
| | | this.messageList = res |
| | | |
| | | this.sendBtn=false |
| | | }) |
| | | getAllNotice(data.id).then(res => this.groupAnList = res) |
| | |
| | | } |
| | | }, |
| | | seedMessage() { |
| | | seed(this.field103, this.groupId).then(res => { |
| | | seed(this.field103, this.groupId).then(async res => { |
| | | this.$message({ |
| | | message: '回复成功', |
| | | type: 'success' |
| | | }); |
| | | getAllMessage(this.groupId).then(res => this.messageList = res) |
| | | await getAllMessage(this.groupId).then(res => { |
| | | res.map(item=>{ |
| | | if (item.pic === '' || item.pic === null){ |
| | | |
| | | }else { |
| | | item.pic='/minio/img/'+item.pic |
| | | } |
| | | |
| | | }) |
| | | this.messageList = res |
| | | // console.log(res) |
| | | }) |
| | | |
| | | // for (let item of this.messageList) { |
| | | // if (item.pic === '' || item.pic === null) { |
| | | // } else { |
| | | // getImgUrl(item.pic).then(res => { |
| | | // item.pic = res |
| | | // }) |
| | | // } |
| | | // } |
| | | |
| | | this.field103 = ''; |
| | | } |
| | | ) |