Explorar o código

跳转微信小程序

hwb0 %!s(int64=3) %!d(string=hai) anos
pai
achega
40246bde68
Modificáronse 1 ficheiros con 1 adicións e 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;
       })
     }