Showing
1 changed file
with
1 additions
and
2 deletions
| @@ -25,7 +25,6 @@ Page({ | @@ -25,7 +25,6 @@ Page({ | ||
| 25 | * 生命周期函数--监听页面加载 | 25 | * 生命周期函数--监听页面加载 |
| 26 | */ | 26 | */ |
| 27 | onLoad: function (options) { | 27 | onLoad: function (options) { |
| 28 | - this.getHistory(); | ||
| 29 | this.getPos() | 28 | this.getPos() |
| 30 | }, | 29 | }, |
| 31 | 30 | ||
| @@ -40,7 +39,7 @@ Page({ | @@ -40,7 +39,7 @@ Page({ | ||
| 40 | * 生命周期函数--监听页面显示 | 39 | * 生命周期函数--监听页面显示 |
| 41 | */ | 40 | */ |
| 42 | onShow: function () { | 41 | onShow: function () { |
| 43 | - | 42 | + this.getHistory(); |
| 44 | }, | 43 | }, |
| 45 | 44 | ||
| 46 | /** | 45 | /** |
-
Please register or login to post a comment