Argument type {baseURL: "https://localhost:9090", timeout: number} is not assignable to parameter type CreateAxiosDefaults | undefined
时间: 2024-06-03 22:07:14 浏览: 123
Keil v5 Error: Encountered an improper argument 个人实测解决办法
This error message suggests that the argument being passed to a function or method is not compatible with the expected parameter type.
In this case, the function or method is expecting a parameter of type "CreateAxiosDefaults" or "undefined", but instead it is receiving an argument of type "{baseURL: "https://localhost:9090", timeout: number}".
To fix this error, you can either modify the argument to match the expected parameter type or update the function or method to accept the argument type being passed.
阅读全文