wq 5 năm trước cách đây
mục cha
commit
7bb66f0830
1 tập tin đã thay đổi với 1 bổ sung35 xóa
  1. 1 35
      pages/messageInfo/index.js

+ 1 - 35
pages/messageInfo/index.js

@@ -38,40 +38,7 @@ Page({
     
   },
 
-  /**
-   * 生命周期函数--监听页面初次渲染完成
-   */
-  onReady: function () {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面显示
-   */
-  onShow: function () {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面隐藏
-   */
-  onHide: function () {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面卸载
-   */
-  onUnload: function () {
-
-  },
-
-  /**
-   * 用户点击右上角分享
-   */
-  onShareAppMessage: function () {
-
-  },
+ 
   // 列表查询
   searchInfo: function (message) {
     wx.showLoading({
@@ -136,7 +103,6 @@ Page({
   onReachBottom: function () {
     const pageNum = this.data.skip;
     const _pagenum = Math.ceil(this.data.total / this.data.limit);
-    console.log(pageNum + "哈哈哈哈" + _pagenum)
     if (pageNum < _pagenum) {
       this.setData({
         skip: pageNum + 1 //设置下一页