Closed zijianhuang closed 1 year ago
vue and axios had provided better support for TypeScript.
let me see whether
getActionResult(headersHandler?: () => {[header: string]: string}): Promise<AxiosResponse<string>> { return Axios.get(this.baseUri + 'api/SuperDemo/ActionResult', { headers: headersHandler ? headersHandler() : undefined, responseType: 'text' }); }
could be implemented in fetchAPI
no problem at all
vue and axios had provided better support for TypeScript.
let me see whether
could be implemented in fetchAPI