feat: 完成登录session处理

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-24 22:22:21 +08:00
parent 5294528148
commit 81965595f0
15 changed files with 804 additions and 240 deletions
+2
View File
@@ -19,6 +19,7 @@ const emit = defineEmits<{
const route = useRoute();
const router = useRouter();
const userStore = useUserStore();
const { isOnline, getUserInfoLoading } = storeToRefs(userStore);
const formRef = ref<FormRef>();
const form = reactive<Required<IUserLoginRequest>>({
@@ -99,6 +100,7 @@ defineExpose({
size="large"
type="primary"
:loading="userStore.loginLoading"
:disabled="getUserInfoLoading || isOnline"
>
登录
</el-button>