From 21c10eaacfb2331b44777578fdc7523ad84d0195 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 11 Oct 2021 15:12:15 +0800 Subject: [PATCH] no message --- pages/index/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/index/index.js b/pages/index/index.js index 279b471..6971623 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -283,6 +283,9 @@ Page({ } }, onImageClick: function () { + if(!this.data.landInfo){ + return + } if(this.data.landInfo.otherType == 10){ // 进行会员领取的操作 util.navigateTo('/pages/login/index')