当没有更多用户足迹信息,显示提示信息。

This commit is contained in:
Junling Bu
2018-03-31 18:38:49 +08:00
parent 6b604407a1
commit 9b9a50caa4

View File

@@ -79,11 +79,15 @@ Page({
this.setData({
page: this.data.page + 1
});
this.getFootprintList();
} else {
wx.showToast({
title: '没有更多用户足迹了',
icon: 'none',
duration: 2000
});
return false;
}
this.getFootprintList();
},
onReady: function () {