修改消息记录信息

This commit is contained in:
daihh
2022-11-10 19:39:04 +08:00
parent 572a0f3b93
commit 9c2f18dd31
6 changed files with 51 additions and 16 deletions

View File

@@ -293,17 +293,22 @@ export default {
// 跳转详情事件11
returnRouter(item) {
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.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;
// // }
// }
}
}
}
};