合并修改

master
LAPTOP-R6EHHS26\86155 7 months ago
commit a458a4712a

@ -361,11 +361,10 @@ 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;
console.log(response,'ssssss',)
this.showPrise = true; this.showPrise = true;
} else { } else {
this.showPrise = false; this.showPrise = false;

Loading…
Cancel
Save