feat: 记住账号应默认取消勾选状态

pull/1/head
刘释隆 1 year ago
parent 29e6a1792a
commit e0f732a531

@ -26,7 +26,7 @@ const formRef = ref();
const formRefSms = 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();

@ -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">
记住账号

Loading…
Cancel
Save