Browse Source

fix[litemall-wx-api]: 个人中心地址添加收货地址成功但是没有显示。

Junling Bu 7 years ago
parent
commit
88b1ef6eac
1 changed files with 1 additions and 2 deletions
  1. 1 2
      litemall-wx/pages/ucenter/address/address.js

+ 1 - 2
litemall-wx/pages/ucenter/address/address.js

@@ -8,14 +8,13 @@ Page({
   },
   },
   onLoad: function (options) {
   onLoad: function (options) {
     // 页面初始化 options为页面跳转所带来的参数
     // 页面初始化 options为页面跳转所带来的参数
-    this.getAddressList();
   },
   },
   onReady: function () {
   onReady: function () {
     // 页面渲染完成
     // 页面渲染完成
   },
   },
   onShow: function () {
   onShow: function () {
     // 页面显示
     // 页面显示
-
+    this.getAddressList();
   },
   },
   getAddressList (){
   getAddressList (){
     let that = this;
     let that = this;