map(fn => fn(param))) } return { on, off, trigger } } export function useFetch(url, options) { const data = shallowRef(null) const response = shallowRef(null) const error = shallowRef(null) const isFinished = re
text: () => UseFetchReturn<string> & PromiseLike<UseFetchReturn<string>> 86 + blob: () => UseFetchReturn<Blob> & PromiseLike<UseFetchReturn<Blob>> 87 + arrayBuffer: () => UseFetchReturn<ArrayBuffer> & PromiseLike<UseFetchReturn<ArrayBuffer>> 88 + formData: () => UseFetchReturn<FormData...
@@ -538,12 +543,6 @@ export function useFetch<T>(url: MaybeRefOrGetter<string>, ...args: any[]): UseF ) } const rawPayload = toValue(config.payload) // Set the payload to json type only if it's not provided and a literal object is provided and the object is not `formData`...