mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 07:16:44 +08:00
提交
This commit is contained in:
@@ -269,26 +269,26 @@ export default {
|
||||
},
|
||||
jumpRouter(item) {
|
||||
if (item.published) {
|
||||
if (item.type == 10) {
|
||||
// if (item.type == 10) {
|
||||
// let routeData = this.$router.resolve({ path: '/course/micro?id='+item.id});
|
||||
// window.open(this.webBaseUrl+routeData.href, '_blank');
|
||||
// window.open(this.webBaseUrl + '/course/micro?id=' + item.id, '_blank');
|
||||
this.$router.push({path:'/course/micro',query:{id:item.id}})
|
||||
}
|
||||
if (item.type == 20) {
|
||||
// this.$router.push({path:'/course/micro',query:{id:item.id}})
|
||||
// }
|
||||
// if (item.type == 20) {
|
||||
// let routeData = this.$router.resolve({ path: '/course/detail?id='+item.id});
|
||||
// window.open(this.webBaseUrl+routeData.href, '_blank');
|
||||
// window.open(this.webBaseUrl + '/course/detail?id=' + item.id, '_blank');
|
||||
this.$router.push({path:'/course/detail',query:{id:item.id}})
|
||||
}
|
||||
// }
|
||||
} else {
|
||||
if (item.type == 10) {
|
||||
// window.open(`${this.webBaseUrl}/course/microPreview?id=${item.id}`);
|
||||
this.$router.push({path:'/course/microPreview',query:{id:item.id}})
|
||||
} else {
|
||||
// if (item.type == 10) {
|
||||
// // window.open(`${this.webBaseUrl}/course/microPreview?id=${item.id}`);
|
||||
// this.$router.push({path:'/course/microPreview',query:{id:item.id}})
|
||||
// } else {
|
||||
// window.open(`${this.webBaseUrl}/course/rePreview?id=${item.id}`);
|
||||
this.$router.push({path:'/course/rePreview',query:{id:item.id}})
|
||||
}
|
||||
// }
|
||||
}
|
||||
},
|
||||
findList() {
|
||||
|
||||
Reference in New Issue
Block a user