分享给我的跳转

This commit is contained in:
zhaofang
2022-06-08 19:27:30 +08:00
parent d5cfca7cb7
commit 0a864937dd
4 changed files with 14 additions and 20 deletions

View File

@@ -113,7 +113,12 @@ export default {
}
})
}
this.$router.push({path:'/course/detail',query:{id:item.objId}})
if(item.contentType == 20) {
this.$router.push({path:'/course/detail',query:{id:item.objId || item.id}})
} else {
this.$router.push({path:'/course/micro',query:{id:item.objId || item.id}})
}
// window.open(`${this.webBaseUrl}/course/detail?id=${item.objId}`)
},
},