|
|
@ -308,9 +308,9 @@ export default {
|
|
|
|
getUnReadList() {
|
|
|
|
getUnReadList() {
|
|
|
|
console.log("++未读消息查询++");
|
|
|
|
console.log("++未读消息查询++");
|
|
|
|
getUnReadComment(this.queryParams).then(response => {
|
|
|
|
getUnReadComment(this.queryParams).then(response => {
|
|
|
|
if(response>0){
|
|
|
|
if(response.length>0){
|
|
|
|
this.unReadComments='您有'+response+'新的未读消息,请点击查看';
|
|
|
|
this.unReadComments='您有'+response.length+'新的未读消息,请点击查看';
|
|
|
|
this.commentNum = response;
|
|
|
|
this.commentNum = response.length;
|
|
|
|
this.showPrise = true;
|
|
|
|
this.showPrise = true;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.showPrise = false;
|
|
|
|
this.showPrise = false;
|
|
|
|