From 70dd564a92ca2cae17c20d25f8d02c0f2014851d Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Wed, 2 Jun 2021 17:09:35 +0800 Subject: [PATCH] 报警的~~ --- pages/user/coupons/coupons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user/coupons/coupons.js b/pages/user/coupons/coupons.js index 9c48532..7937315 100644 --- a/pages/user/coupons/coupons.js +++ b/pages/user/coupons/coupons.js @@ -284,7 +284,7 @@ Page({ //没有找到优惠券的时候 if (details.length == 0 && th.data.current_page==1) { - this.setData({sheng:0}); + th.setData({sheng:0}); getApp().showWarning("未找更多数据"); if(big_arr.length>0) { th.setData({ details: big_arr, }); -- libgit2 0.21.4