fix: 註冊頁去識別化

This commit is contained in:
skytek_xinliang
2026-09-29 09:25:55 +08:00
parent 0727a803c0
commit 7eb37a37fb
4 changed files with 22 additions and 99 deletions
+2 -15
View File
@@ -429,23 +429,10 @@ export const useAppStore = defineStore("app", () => {
const response: AuthResponse = USE_MOCK
? {
userID: "MOCK-USER",
userName: request.name,
userName: "",
phone: request.phone,
group: "medium",
profile: {
name: request.name,
phone: request.phone,
birthday: request.birthday,
gender: request.gender,
heightCm: request.heightCm,
weightKg: request.weightKg,
email: request.email,
emergencyContact: request.emergencyContact,
emergencyPhone: request.emergencyPhone,
consent: request.consent,
consentVersion: request.consentVersion,
updatedAt: new Date().toISOString(),
},
profile: null,
}
: await apiRegister(request);