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