src/views/home/index.vue @@ -22,7 +22,7 @@ const queryInfo=router.query const {code}=queryInfo if (code){ ajaxGet('wechat/code',`code=${code}`).then((re:any)=>{ ajaxGet('wechat/code',{code}).then((re:any)=>{ console.log(re) }) }