简体中文
Appearance
const { data, error } = useFetch("/api/user", { retry: 3, // 失败后最多重试3次 });
提示
设置retry选项后,在没有达到最大重试次数前:
retry
error
loading
true
promise$