wyling007 3 лет назад
Родитель
Сommit
0bc0ffabe4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/route/guard.ts

+ 1 - 1
src/route/guard.ts

@@ -42,7 +42,7 @@ const guard = (router: Router) => {
 						toast.message = `登陆失败`;
 						setTimeout(() => {
 							Toast.clear();
-							location.reload();
+							location.replace(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx67ca1b8c9816ef28&redirect_uri=https://jpcj-h5.zzxcx.net/home/test&response_type=code&scope=snsapi_userinfo&state=LOGIN#wechat_redirect`);
 						}, 1000);
 					}
 				}, 300);