跳转事件打开

This commit is contained in:
daihh
2022-11-14 14:06:37 +08:00
parent 8e50decddf
commit 5ab94ad72a

View File

@@ -296,17 +296,17 @@ export default {
if(item.pageUrl && item.pageUrl.length>10){
return item.pageUrl;
}else{
// if (item.refType == 2) {
// return this.webBaseUrl + '/article/detail?id=' + item.refId;
// } else if (item.refType == 4||item.refType == 5) {
// return this.webBaseUrl + '/qa/answer?id=' + item.refId;
// } else {
// // if (item.conType == 10) {
// // return this.webBaseUrl + '/course/micro?id=' + item.refId;
// // } else if (item.conType == 20) {
// return this.webBaseUrl + '/course/detail?id=' + item.refId;
// // }
// }
if (item.refType == 2) {
return this.webBaseUrl + '/article/detail?id=' + item.refId;
} else if (item.refType == 4||item.refType == 5) {
return this.webBaseUrl + '/qa/answer?id=' + item.refId;
} else {
// if (item.conType == 10) {
// return this.webBaseUrl + '/course/micro?id=' + item.refId;
// } else if (item.conType == 20) {
return this.webBaseUrl + '/course/detail?id=' + item.refId;
// }
}
}
}