|
|
|
@ -25,8 +25,8 @@ export const PageRegister = () => { |
|
|
|
|
const username = usernameInput.current?.value |
|
|
|
|
const password = passwordInput.current?.value |
|
|
|
|
const email = emailInput.current?.value |
|
|
|
|
const invitationCode = passwordInput.current?.value |
|
|
|
|
const validationCode = invitationCodeInput.current?.value |
|
|
|
|
const invitationCode = invitationCodeInput.current?.value |
|
|
|
|
const validationCode = validationCodeInput.current?.value |
|
|
|
|
if(!username || !password) { |
|
|
|
|
setIllegalMessgae("请将以下内容全部输入") |
|
|
|
|
setIllegal(true) |
|
|
|
@ -45,7 +45,7 @@ export const PageRegister = () => { |
|
|
|
|
if(texture.SKIN || texture.CAPE) { |
|
|
|
|
textureMigrations = { |
|
|
|
|
skin: texture.SKIN?.url ?? undefined, |
|
|
|
|
cape: texture.SKIN?.url ?? undefined, |
|
|
|
|
cape: texture.CAPE?.url ?? undefined, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|