From bc1a557dd45300b9e0dccac59e57eee8932d8a95 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Fri, 30 Dec 2022 17:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20RegisterCommand=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/type/commands/RegisterCommand.ts | 2 +- src/views/ChangePassword/ChangePassword.vue | 2 +- src/views/Register/Register.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/type/commands/RegisterCommand.ts b/src/type/commands/RegisterCommand.ts index 867e08f..d6c950c 100644 --- a/src/type/commands/RegisterCommand.ts +++ b/src/type/commands/RegisterCommand.ts @@ -1,5 +1,5 @@ export interface RegisterCommand { - principal: string; + emailOrMobilePhone: string; username: string; code: string; password: string; diff --git a/src/views/ChangePassword/ChangePassword.vue b/src/views/ChangePassword/ChangePassword.vue index 4d34c37..a41af69 100644 --- a/src/views/ChangePassword/ChangePassword.vue +++ b/src/views/ChangePassword/ChangePassword.vue @@ -52,7 +52,7 @@ 修改密码 diff --git a/src/views/Register/Register.vue b/src/views/Register/Register.vue index 7cdb2e5..230d816 100644 --- a/src/views/Register/Register.vue +++ b/src/views/Register/Register.vue @@ -6,8 +6,8 @@ - - + + @@ -73,7 +73,7 @@ import type { RegisterCommand } from "@/type/commands/RegisterCommand"; const formRef = ref(null); const model = ref({ - principal: "", + emailOrMobilePhone: "", username: "", code: "", password: "",