Commit 3462d4be authored by tangfh's avatar tangfh

+

parent a09dbf9c
...@@ -110,13 +110,11 @@ ...@@ -110,13 +110,11 @@
uni.navigateBack(); uni.navigateBack();
}, },
onStatusClick() { onStatusClick() {
var tab = this.tabBars[this.tabIndex]; this.refresh();
tab.content.refreshing = true;
this.onRefresh();
}, },
onRefresh(e) { onRefresh(e) {
var tab = this.tabBars[this.tabIndex]; var tab = this.tabBars[this.tabIndex];
if (!tab.content.refreshFlag) { if (!tab.content.refreshing && !tab.content.refreshFlag) {
return; return;
} }
tab.content.page = 1; tab.content.page = 1;
......
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