fix: 账号池添加账号复用登录表单,不再套一层卡片
This commit is contained in:
@@ -196,9 +196,9 @@ async function finishNqi() {
|
||||
<template>
|
||||
<div :class="purpose === 'pool' ? '' : 'gate'">
|
||||
<ThemeButton v-if="purpose !== 'pool'" />
|
||||
<section class="lv-side">
|
||||
<div class="lv-brand"><div class="lv-mark" aria-hidden="true">D</div><h1>{{ purpose === "pool" ? "添加账号" : "DecomEval" }}</h1></div>
|
||||
<form @submit.prevent="submitLogin">
|
||||
<section :class="purpose === 'pool' ? 'lv-embed' : 'lv-side'">
|
||||
<div v-if="purpose !== 'pool'" class="lv-brand"><div class="lv-mark" aria-hidden="true">D</div><h1>DecomEval</h1></div>
|
||||
<form class="lv-fields" @submit.prevent="submitLogin">
|
||||
<n-alert v-if="route.query.notice === 'already'" type="info">这个数据库已经安装过,请使用原来的管理员账号登录。</n-alert>
|
||||
<n-alert v-if="errorText" type="error">{{ errorText }}</n-alert>
|
||||
<label>账号</label>
|
||||
@@ -212,7 +212,7 @@ async function finishNqi() {
|
||||
<img v-if="captchaUrl" :src="captchaUrl" alt="验证码" title="点击刷新" @click="refreshCaptcha" />
|
||||
</div>
|
||||
</template>
|
||||
<n-button class="lv-go" type="primary" attr-type="submit" :loading="busy">登录</n-button>
|
||||
<n-button class="lv-go" type="primary" attr-type="submit" :loading="busy">{{ purpose === "pool" ? "添加" : "登录" }}</n-button>
|
||||
</form>
|
||||
</section>
|
||||
<n-modal v-model:show="smsRequired" :mask-closable="false" preset="card" title="短信认证" style="width: 420px">
|
||||
|
||||
Reference in New Issue
Block a user