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