Commit f54b3e8f05b25283c0abd0e319fd6a9e7f7c90de

Authored by yvan.ni
1 parent 78d663c2

报警提示的优化

pages/activity/seckill_list/seckill_list.js
@@ -166,7 +166,7 @@ Page({ @@ -166,7 +166,7 @@ Page({
166 166
167 }); 167 });
168 168
169 - if (plist.length <= 0) { 169 + if (!plist || plist.length <= 0) {
170 170
171 getApp().showWarning("没有更多数据"); 171 getApp().showWarning("没有更多数据");
172 th.data.ismore = 0; 172 th.data.ismore = 0;