This commit is contained in:
zhaofang
2022-11-15 14:44:02 +08:00
parent 252d27c108
commit 145b2988f7

View File

@@ -60,7 +60,7 @@
} }
}, },
onLoad() { onLoad() {
this.findData(true);
this.queryMessage(true); this.queryMessage(true);
}, },
onPullDownRefresh() { onPullDownRefresh() {
@@ -120,6 +120,9 @@
}, },
click(item) { click(item) {
this.tab = item.index; this.tab = item.index;
if(item.index == 1 && this.data.length == 0) {
this.findData(true);
}
}, },
ubtab(num){ ubtab(num){
this.tab = num this.tab = num