@@ -245,7 +245,12 @@
this.showModal = true
if (this.isUnread(bill.id)) {
let lists = []
- this.$http.post(`/sale/sample/setRead`, {params: lists.push(bill.id)})
+ lists[0] = bill.id
+ let _then = this
+ this.$http.post(`/sale/sample/setRead`, lists)
+ .then(() => {
+ _then.getHasUser()
+ })
}
this.$http.get(`/sale/sample/${bill.id}/send`)
.then(res => {