Commit d3c8219a authored by 黄奎's avatar 黄奎

首页系统日志调整

parent 285fe2fa
...@@ -2450,9 +2450,9 @@ ...@@ -2450,9 +2450,9 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.MsgCount = res.data.data.count; this.MsgCount = res.data.data.count;
if (this.MsgCount && this.MsgCount > 0) { // if (this.MsgCount && this.MsgCount > 0) {
this.hasNewMsg = this.MsgCount; // this.hasNewMsg = this.MsgCount;
} // }
if (res.data.data.count > 0) { if (res.data.data.count > 0) {
let data = res.data.data.pageData; let data = res.data.data.pageData;
data.forEach(x => { data.forEach(x => {
...@@ -4375,7 +4375,7 @@ ...@@ -4375,7 +4375,7 @@
if (r.data.resultCode == 1) { if (r.data.resultCode == 1) {
this.msgList = []; this.msgList = [];
this.MsgCount = this.msgList.length; this.MsgCount = this.msgList.length;
this.hasNewMsg = this.MsgCount; //this.hasNewMsg = this.MsgCount;
} else { } else {
this.$message.error(r.data.message); this.$message.error(r.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment