瀏覽代碼

跳转微信小程序

hwb0 3 年之前
父節點
當前提交
fc8979f770
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      public/jump.html

+ 1 - 3
public/jump.html

@@ -105,11 +105,9 @@
       })
 
       req.then(data => {
-        console.log('data', data)
         let resData = JSON.parse(data)
-        console.log('resData', resData)
         if(resData.code == 0){
-          window.location.href = `${ resData.data }?id=${ getRequest.id }`;
+          window.location.href = resData.data;
         }
       })
     }