瀏覽代碼

修改登陆逻辑

wyling007 3 年之前
父節點
當前提交
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);