feat: 添加页面切换动画
This commit is contained in:
@@ -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 ? "注册中..." : "注册" }}
|
||||
|
||||
Reference in New Issue
Block a user