feat: 添加页面切换动画

This commit is contained in:
2026-05-23 23:08:00 +08:00
parent fc71e924e7
commit bc785ac1ce
7 changed files with 106 additions and 4 deletions
+8 -1
View File
@@ -15,6 +15,11 @@ import {
import { Input } from "@/components/ui/input";
import { useAuthStore } from "@/stores/auth";
definePageMeta({
pageOrder: 4,
pageTransition: { name: "slide-left" }
});
useHead({ title: "注册 - OCS AI 答题服务" });
const authStore = useAuthStore();
@@ -115,7 +120,9 @@ const onSubmit = handleSubmit(async (values) => {
<Button
type="submit"
:disabled="isSubmitting || authStore.loading || !authStore.initialized"
:disabled="
isSubmitting || authStore.loading || !authStore.initialized
"
class="w-full"
>
{{ authStore.loading ? "注册中..." : "注册" }}