mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-21 08:46:44 +08:00
修改
This commit is contained in:
@@ -73,13 +73,24 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
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)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
this.$router.push({path:'/qa/answer',query:{id:item.question.id}})
|
||||
// window.open(`${this.webBaseUrl}/qa/answer?id=${item.question.id}`)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user