Commit 6c492c78 authored by Chunchi Che's avatar Chunchi Che

fix

parent 4366bae1
Pipeline #23169 passed with stages
in 11 minutes and 52 seconds
......@@ -111,12 +111,15 @@ export const Component: React.FC = () => {
alert("请先登录萌卡账号");
} else {
setMatchLoading(true);
const matchInfo = await match(user.name, user.external_id);
const matchInfo = await match(
user.username,
user.external_id,
);
if (matchInfo) {
await connectSrvpro({
ip: matchInfo.address + ":" + (matchInfo.port + 1),
player: user.name,
player: user.username,
passWd: matchInfo.password,
});
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment