update pay ui
This commit is contained in:
@@ -407,8 +407,10 @@ export default function AuthFormContent() {
|
||||
authEvents.trackWechatLoginInitiated('icon_button');
|
||||
|
||||
try {
|
||||
// 1. 构建回调URL
|
||||
const redirectUrl = `${window.location.origin}/home/wechat-callback`;
|
||||
// 1. 构建回调URL,携带当前页面路径以便登录后返回
|
||||
const currentPath = window.location.pathname + window.location.search;
|
||||
const returnUrl = encodeURIComponent(currentPath);
|
||||
const redirectUrl = `${window.location.origin}/home/wechat-callback?returnUrl=${returnUrl}`;
|
||||
|
||||
// 2. 显示提示
|
||||
toast({
|
||||
|
||||
Reference in New Issue
Block a user