Explorar el Código

跳转微信小程序

hwb0 hace 3 años
padre
commit
78f9776b94
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/jump.html

+ 1 - 1
public/jump.html

@@ -106,7 +106,7 @@
 
       req.then(data => {
         console.log('data', data)
-        if(data.code == '0'){
+        if(data.code == 0){
           window.location.href = data.data;
         }
       })