From e7277fad6d684fbc63623ec2c4d2ce2ec79fe7a5 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 23 Feb 2022 18:34:45 +0800 Subject: [PATCH] fix issue --- templates/repo/debugjob/index.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{