/hooks

自定义常用hooks

Primary LanguageTypeScriptMIT LicenseMIT

custome-hooks

自定义常用hooks

useLoading 发起接口请求时根据返回结果处理loading状态

const [loading,fetchRequest] = useLoading(originRequest);