|
|
@@ -6,15 +6,15 @@
|
|
|
</div>
|
|
|
<Form ref="formRef" class="login-form" @submit="formSubmit">
|
|
|
<CellGroup inset>
|
|
|
- <Field v-model="formData.userName" name="account" label="用户名" label-align="top" size="large" placeholder="请输入用户名"
|
|
|
- :rules="[{ required: true, message: '请输入用户名' }]" />
|
|
|
+ <Field v-model="formData.userName" name="account" label="账号登录" label-align="top" size="large" placeholder="请输入登录账号/手机号"
|
|
|
+ :rules="[{ required: true, message: '请输入账号登录' }]" />
|
|
|
<Field v-model="formData.password" name="password" type="password" label="密码" label-align="top" size="large"
|
|
|
placeholder="请输入密码" :rules="[{ required: true, message: '请输入密码' }]" autocomplete="off" />
|
|
|
- <Field>
|
|
|
+ <!-- <Field>
|
|
|
<template #input>
|
|
|
<SliderVerify @statu="slide" style="max-width: 100%;margin: auto;" v-if="showSliderVerify" />
|
|
|
</template>
|
|
|
- </Field>
|
|
|
+ </Field> -->
|
|
|
</CellGroup>
|
|
|
</Form>
|
|
|
<div class="login-link">
|
|
|
@@ -55,7 +55,7 @@ const { formData, userLogin } = useLogin()
|
|
|
const formRef = shallowRef<FormInstance>()
|
|
|
const checked = shallowRef(false) // 是否同意协议管理
|
|
|
const showSliderVerify = shallowRef(true) // 验证滑块组件重载
|
|
|
-const sliderVerifyStatus = shallowRef(false) // 滑块验证状态
|
|
|
+const sliderVerifyStatus = shallowRef(true) // 滑块验证状态
|
|
|
|
|
|
const meta = document.getElementsByTagName('meta')
|
|
|
const appVersion = meta.namedItem('revised')?.content ?? '0'
|