ソースを参照

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

Junling Bu 7 年 前
コミット
b7a2a1e644
1 ファイル変更1 行追加0 行削除
  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();
               }
             });