From acd9a1f4ab2b1fd7129fb0c86c723d113ac6bfb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=B7=E6=B4=8B=E4=B9=8B=E5=A3=B0?= Date: Wed, 5 Jun 2019 20:50:08 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8B=BC=E5=9B=A2undefined=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/spellGroup/mySpellGroup/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index 39f861c..ed84cfb 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -536,7 +536,9 @@ Page({ onPullDownRefresh: function(e) { let that = this; that.getDetail(that.data.couponChannelId); - that.getOneSpell(that.data.couponId) + if (that.data.couponId) { + that.getOneSpell(that.data.couponId) + } }, onShareAppMessage: function (options) { console.log(options)