Explorar el Código

跳转微信小程序

hwb0 hace 3 años
padre
commit
40246bde68
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
       })
     }