Commit d15c4af4 authored by Mac's avatar Mac

1

parent 168e2c0b
......@@ -141,6 +141,7 @@
nomore: "没有更多了",
},
windowWidth: 0,
showone:true,
msgType: {
}
......@@ -164,6 +165,10 @@
if (this.page_count == 1) {
this.status = "nomore";
}
if(this.showone == true && this.g.length>0){
this.setAllMsgSee()
this.showone = false
}
}
}
);
......@@ -252,9 +257,7 @@
uni.setNavigationBarTitle({
title: this.pageTitle,
});
if(this.g.length>0){
this.setAllMsgSee()
}
},
onLoad(options) {
......
......@@ -63,6 +63,7 @@
loading: "努力加载中",
nomore: "没有更多了",
},
showone:true
}
},
methods: {
......@@ -81,6 +82,10 @@
if (this.pageCount == 1) {
this.status = "nomore";
}
if( this.showone == true && this.sysMsgData.length>0){
this.setAllMsgSee()
this.showone = false
}
}
}
);
......@@ -132,9 +137,7 @@
},
onShow() {
this.getMiaiMessagePageList();
if(this.sysMsgData.length>0){
this.setAllMsgSee()
}
},
mounted() {
uni.setNavigationBarTitle({
......
......@@ -111,6 +111,7 @@
loading: "努力加载中",
nomore: "没有更多了",
},
showone:true
}
},
methods: {
......@@ -151,6 +152,10 @@
if (this.pageCount == 1) {
this.status = "nomore";
}
if(this.showone == true && this.visitorData.length>0){
this.setAllMsgSee()
this.showone = false
}
}
}
);
......@@ -215,9 +220,7 @@
uni.setNavigationBarTitle({
title: this.pageTitle,
});
if(this.visitorData.length>0){
this.setAllMsgSee()
}
},
updated() {
......
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