|
@@ -56,7 +56,7 @@ const Login2p: React.FC = () => {
|
|
|
}
|
|
|
} else if (login2p.isWechat && !wechatToken) {
|
|
|
login2p.loginWechatLaunch(
|
|
|
- `${process.env.REACT_APP_URL}login2p/wechat?next=${encodeURIComponent(next ? next : '/')}`
|
|
|
+ `${process.env.REACT_APP_URL}login2p/wechat?next=${next ? next : encodeURIComponent('/')}`
|
|
|
)
|
|
|
}
|
|
|
}
|
|
@@ -154,7 +154,7 @@ const Login2p: React.FC = () => {
|
|
|
icon={<WechatOutlined style={{ color: '#60C84D' }} />}
|
|
|
onClick={() =>
|
|
|
login2p.loginWechatLaunch(
|
|
|
- `${process.env.REACT_APP_URL}login2p/wechat?next=${encodeURIComponent(next ? next : '/')}`
|
|
|
+ `${process.env.REACT_APP_URL}login2p/wechat?next=${next ? next : encodeURIComponent('/')}`
|
|
|
)
|
|
|
}
|
|
|
shape="circle"
|