From 1e941d6465fc41a00409c7107b06cdc5ba0e02b5 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 8 Jan 2021 20:31:09 +0800 Subject: [PATCH] no message --- pages/html/banner/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/html/banner/index.js b/pages/html/banner/index.js index 6457e88..8408895 100644 --- a/pages/html/banner/index.js +++ b/pages/html/banner/index.js @@ -37,6 +37,8 @@ Page({ wx.navigateBack() }, onClick: function(){ - wx.redirectTo({ url: '/pages/goods/ablility/index' }) + if(this.data.src == ''){ + wx.redirectTo({ url: '/pages/goods/ablility/index' }) + } } }) \ No newline at end of file