diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index 09d2f730b..011a16dba 100755 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -550,9 +550,9 @@ data:$('#debugAgainForm-'+JobID).serialize(), success:function(res){ if(res['WechatRedirectUrl']){ - window.location.href=WechatRedirectUrl + window.location.href=res['WechatRedirectUrl'] } - if(res.result_code==="0"){ + else if(res.result_code==="0"){ if(res.job_id!==JobID){ location.reload() }else{