|
|
|
@ -17,7 +17,7 @@ interface FormState {
|
|
|
|
|
const formRef = ref()
|
|
|
|
|
const message = useMessage()
|
|
|
|
|
const loading = ref(false)
|
|
|
|
|
const autoLogin = ref(true)
|
|
|
|
|
const autoLogin = ref(false)
|
|
|
|
|
const LOGIN_NAME = PageEnum.BASE_LOGIN_NAME
|
|
|
|
|
const userStore = useUserStore()
|
|
|
|
|
const router = useRouter()
|
|
|
|
@ -127,7 +127,7 @@ function handleSubmit(e) {
|
|
|
|
|
</n-button>
|
|
|
|
|
</n-form-item>
|
|
|
|
|
<n-form-item class="default-color">
|
|
|
|
|
<div class="w-full flex justify-between">
|
|
|
|
|
<div class="flex justify-between w-full">
|
|
|
|
|
<div class="flex-initial">
|
|
|
|
|
<n-checkbox v-model:checked="autoLogin">
|
|
|
|
|
记住账号
|
|
|
|
@ -162,7 +162,7 @@ function handleSubmit(e) {
|
|
|
|
|
</n-button>
|
|
|
|
|
</n-form-item>
|
|
|
|
|
<n-form-item class="default-color">
|
|
|
|
|
<div class="w-full flex justify-between">
|
|
|
|
|
<div class="flex justify-between w-full">
|
|
|
|
|
<div class="flex-initial">
|
|
|
|
|
<n-checkbox v-model:checked="autoLogin">
|
|
|
|
|
记住账号
|
|
|
|
|