gang.huang 4 years atrás
parent
commit
16d851ca42
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pages/postage/postage.js

+ 1 - 2
pages/postage/postage.js

@@ -117,7 +117,7 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
-   
+    this.requestGoods();
   },
 
   requestGoods() {
@@ -265,7 +265,6 @@ Page({
    * 生命周期函数--监听页面显示
    */
   onShow: function () {
-    this.requestGoods();
     let msgs = app.genMsgs();
     this.setData({ msgList: msgs });
     const record = app.globalData.record || {}