Skip to content

Commit

Permalink
[*] 修改按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Oct 16, 2024
1 parent 338f268 commit fb5c385
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/views/auth/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
</n-button>-->
</n-space>
<n-space justify="end">
<n-button type="primary" @click="login"> 登录</n-button>
<n-button
ghost
style="--n-border: none"
Expand All @@ -44,6 +43,7 @@
>
没有账户?去注册
</n-button>
<n-button type="primary" @click="login"> 登录</n-button>
</n-space>
</n-space>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/auth/RegisterView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
</n-form-item>
<div style="display: flex; margin-bottom: 20px; justify-content: flex-end">
<n-space>
<n-button type="primary" @click="register" style="margin-right: 10px"> 注册 </n-button>
<n-button
ghost
type="primary"
Expand All @@ -57,6 +56,7 @@
>
已有账户?去登录
</n-button>
<n-button type="primary" @click="register"> 注册 </n-button>
</n-space>
</div>
</n-form>
Expand Down
12 changes: 5 additions & 7 deletions src/views/auth/ResetPasswordView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,18 @@
</n-form-item>
<div style="display: flex; justify-content: flex-end">
<n-space>
<n-button type="primary" @click="doResetRequest" style="margin-right: 10px">
提交
</n-button>
<!-- <n-button type="primary" @click="sendResetMail" style="margin-right: 10px">-->
<!-- 发送邮件-->
<!-- </n-button>-->
<n-button
ghost
type="primary"
style="--n-border: none"
@click="() => router.push({ name: 'Login' })"
>
登录
我想起密码了,带我去登录
</n-button>
<n-button type="primary" @click="doResetRequest">提交</n-button>
<!-- <n-button type="primary" @click="sendResetMail" style="margin-right: 10px">-->
<!-- 发送邮件-->
<!-- </n-button>-->
</n-space>
</div>
</n-form>
Expand Down

0 comments on commit fb5c385

Please sign in to comment.