修改 RegisterCommand。
parent
f467cc9203
commit
bc1a557dd4
|
@ -1,5 +1,5 @@
|
|||
export interface RegisterCommand {
|
||||
principal: string;
|
||||
emailOrMobilePhone: string;
|
||||
username: string;
|
||||
code: string;
|
||||
password: string;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<n-button
|
||||
type="primary"
|
||||
size="large"
|
||||
style="width: 100%; margin-top: 8px; margin-bottom: 8px;"
|
||||
style="width: 100%; margin-top: 8px; margin-bottom: 8px"
|
||||
@click="handleBtnChangePasswordClick"
|
||||
>
|
||||
修改密码
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
</div>
|
||||
|
||||
<n-form ref="formRef" :model="model" :show-feedback="false" :show-label="false" size="large">
|
||||
<n-form-item path="principal">
|
||||
<n-input placeholder="邮箱地址 / 手机号" v-model:value="model.principal" />
|
||||
<n-form-item path="emailOrMobilePhone">
|
||||
<n-input placeholder="邮箱地址 / 手机号" v-model:value="model.emailOrMobilePhone" />
|
||||
</n-form-item>
|
||||
|
||||
<n-form-item path="username">
|
||||
|
@ -73,7 +73,7 @@ import type { RegisterCommand } from "@/type/commands/RegisterCommand";
|
|||
|
||||
const formRef = ref<FormInst | null>(null);
|
||||
const model = ref<RegisterCommand>({
|
||||
principal: "",
|
||||
emailOrMobilePhone: "",
|
||||
username: "",
|
||||
code: "",
|
||||
password: "",
|
||||
|
|
Loading…
Reference in New Issue