Explorar el Código

【小昆山官网】我的消息 - 没有未读消息不显示提示

master
王饶冀 hace 3 años
padre
commit
e7bebfb12d

+ 1
- 0
digital-park-web/digital-park/src/views/my-related/business/Business.vue Ver fichero

let { resultData } = data; let { resultData } = data;
this.myMsgList = resultData.list; this.myMsgList = resultData.list;
this.notRead = resultData.total - data.readCount; this.notRead = resultData.total - data.readCount;
this.notRead = this.notRead < 0 ? 0 : this.notRead;
}else if(res.data.status == 102){ }else if(res.data.status == 102){
this.$router.push('/login') this.$router.push('/login')
}else { }else {

+ 1
- 0
digital-park-web/digital-park/src/views/my-related/mseeage/Message.vue Ver fichero

); );
this.queryParams.total = resultData.total; this.queryParams.total = resultData.total;
this.notRead = resultData.total - data.readCount; this.notRead = resultData.total - data.readCount;
this.notRead = this.notRead < 0 ? 0 : this.notRead;
} else if (res.data.status == 102) { } else if (res.data.status == 102) {
this.$router.push("/login"); this.$router.push("/login");
} else { } else {

Cargando…
Cancelar
Guardar