📝 Docs: 商店头像 skeleton (#3362)

This commit is contained in:
StarHeart
2025-03-09 21:18:32 +08:00
committed by GitHub
parent ecab229133
commit 09343c332e
34 changed files with 623 additions and 282 deletions

View File

@@ -4,10 +4,13 @@ import clsx from "clsx";
import "./styles.css";
import type { Resource } from "@/libs/store";
import { fetchRegistryData } from "@/libs/store";
import TagFormItem from "./Items/Tag";
import { fetchRegistryData, Resource } from "@/libs/store";
import { Tag as TagType } from "@/types/tag";
import type { Tag as TagType } from "@/types/tag";
export type FormItemData = {
type: string;
@@ -62,8 +65,8 @@ export function Form({
(item) => item.name
);
if (currentStepNames.every((name) => result[name]))
setCurrentStep(currentStep + 1);
else return;
{setCurrentStep(currentStep + 1);}
else {}
};
const onPrev = () => currentStep > 0 && setCurrentStep(currentStep - 1);
const onNext = () =>