mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
修改
This commit is contained in:
@@ -106,13 +106,24 @@ export default {
|
||||
return obj;
|
||||
},
|
||||
jumpRouter(item){
|
||||
if(this.type!='myShare'){
|
||||
if(item.type){
|
||||
if(this.type!='myShare'){
|
||||
apiShares.updateIsRead(item.shareId).then(res=>{
|
||||
if(res.status==200){
|
||||
this.$emit('confirm',item)
|
||||
}
|
||||
})
|
||||
}
|
||||
}else{
|
||||
if(this.type!='myShare'){
|
||||
apiShares.updateIsRead(item.id).then(res=>{
|
||||
if(res.status==200){
|
||||
this.$emit('confirm',item)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
if(item.contentType == 20) {
|
||||
this.$router.push({path:'/course/detail',query:{id:item.objId || item.id}})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user