Quellcode durchsuchen

跳转微信小程序

hwb0 vor 3 Jahren
Ursprung
Commit
78f9776b94
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;
         }
       })