import { useState } from 'react'; import usePagination from "@/hooks/usePagination"; import { get替换nameListApi } from "./api"; export default function useStore() { const pagination = usePagination(get替换nameListApi); const [open, setOpen] = useState(false); const [current, setCurrent] = useState<替换name.ListVO>(); return { pagination, open, setOpen, current, setCurrent, }; }