Browse Source

fix[litemall-wx]:删除用户足迹后,需要先清空数组,然后再重新加载数据。

Junling Bu 7 years ago
parent
commit
b7a2a1e644
1 changed files with 1 additions and 0 deletions
  1. 1 0
      litemall-wx/pages/ucenter/footprint/footprint.js

+ 1 - 0
litemall-wx/pages/ucenter/footprint/footprint.js

@@ -58,6 +58,7 @@ Page({
                   icon: 'success',
                   duration: 2000
                 });
+                that.data.footprintList = [];
                 that.getFootprintList();
               }
             });