diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index 45177d846..09d2f730b 100755 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -549,8 +549,7 @@ url:debugUrl+'restart?redirect_to='+redirect_to, data:$('#debugAgainForm-'+JobID).serialize(), success:function(res){ - console.log(res) - if(res.WechatRedirectUrl){ + if(res['WechatRedirectUrl']){ window.location.href=WechatRedirectUrl } if(res.result_code==="0"){