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
@@ -26,6 +26,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<RegisterForm>({
@@ -175,6 +176,7 @@ defineExpose({
size="large"
type="primary"
:loading="userStore.registerLoading"
:disabled="getUserInfoLoading || isOnline"
>
注册
</el-button>