| @@ -281,6 +281,7 @@ export default { | |||
| let { resultData } = data; | |||
| this.myMsgList = resultData.list; | |||
| this.notRead = resultData.total - data.readCount; | |||
| this.notRead = this.notRead < 0 ? 0 : this.notRead; | |||
| }else if(res.data.status == 102){ | |||
| this.$router.push('/login') | |||
| }else { | |||
| @@ -154,6 +154,7 @@ export default { | |||
| ); | |||
| this.queryParams.total = resultData.total; | |||
| this.notRead = resultData.total - data.readCount; | |||
| this.notRead = this.notRead < 0 ? 0 : this.notRead; | |||
| } else if (res.data.status == 102) { | |||
| this.$router.push("/login"); | |||
| } else { | |||