Update RegisterAndLogin.vue

fix register
This commit is contained in:
2023-12-15 10:28:35 +08:00
committed by GitHub
parent 82a0e72122
commit a58278e0dc

View File

@@ -124,7 +124,7 @@ function onRegisterButtonClick() {
formRef.value?.validate().then(async () => {
isLoading.value = true
await QueryPostAPI<string>(
ACCOUNT_API_URL + 'register',
ACCOUNT_API_URL() + 'register',
{
name: registerModel.value.username,
email: registerModel.value.email,