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