mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 08:16:44 +08:00
提交
This commit is contained in:
@@ -67,11 +67,11 @@ export default {
|
||||
coudetail(item) {
|
||||
// let routeData = this.$router.resolve({ path: '/course/detail?id=' + item.objId });
|
||||
// window.open(routeData.href, '_blank');
|
||||
if(item.contentType == '20') {
|
||||
// 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}})
|
||||
}
|
||||
// } else {
|
||||
// this.$router.push({path:'/course/micro',query:{id:item.objId || item.id}})
|
||||
// }
|
||||
|
||||
},
|
||||
delItem(item) {
|
||||
|
||||
Reference in New Issue
Block a user