This commit is contained in:
zhaofang
2022-11-11 16:17:36 +08:00
parent e2b64d3c55
commit cc4abda31c

View File

@@ -55,6 +55,14 @@
},
methods: {
returnRouter(item) {
if(!item.isRead){
apiMessage.updateIsRead([item.id]).then(res=>{
if(res.status == 200) {
item.isRead = !item.isRead;
}
})
}
if (item.refType == 2) {
uni.navigateTo({
url: '/pages/resource/articeDetail?id=' + item.refId
@@ -145,7 +153,6 @@
this.$emit('loadMessage');
}
})
console.log(ids,'ids')
}
}
}