mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 02:16:46 +08:00
提交
This commit is contained in:
@@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user