Browse Source

Signed-off-by: yukangzhe <382985154@qq.com>

yukangzhe 4 năm trước cách đây
mục cha
commit
b395e526d1
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      pages/index/index.js

+ 3 - 0
pages/index/index.js

@@ -88,6 +88,9 @@ Page({
   },
 
   toPage: function (e) {
+    if(typeof e.currentTarget.dataset.url == 'undefined'){
+      return
+    }
     wx.navigateTo({
       url: e.currentTarget.dataset.url,
     })