hooks函数页面
要使用hooks的路径
引入
import useToPath from "@/hooks/useToPath" const { toPath } = useToPath()
import useToPath from "@/hooks/useToPath"
const { toPath } = useToPath()
使用