Parcourir la source

跳转微信小程序

hwb0 il y a 3 ans
Parent
commit
40246bde68
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      public/jump.html

+ 1 - 1
public/jump.html

@@ -107,7 +107,7 @@
 
       req.then(data => {
         console.log(data)
-        window.location.href = data.data;
+        location.href = data.data;
       })
     }