Jelajahi Sumber

跳转微信小程序

hwb0 3 tahun lalu
induk
melakukan
92d637f6a5
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      public/jump.html

+ 4 - 3
public/jump.html

@@ -105,9 +105,10 @@
         }
       })
 
-      req.then(data => {
-        console.log(data)
-        location.href = data.data;
+      req.then(res => {
+        if(res.code == 0){
+          location.href = res.data;
+        }
       })
     }