From 5ab94ad72a68aa33941f3611038f0e9beb1f1fd9 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 14 Nov 2022 14:06:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=BA=8B=E4=BB=B6=E6=89=93?= =?UTF-8?q?=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/user/Message.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/portal/user/Message.vue b/src/views/portal/user/Message.vue index d3b37cde..93eaaa37 100644 --- a/src/views/portal/user/Message.vue +++ b/src/views/portal/user/Message.vue @@ -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; + // } + } } }