Open knightmdy opened 5 months ago
The comma inside the brackets indicates that when you provide the second parameter, it needs to be separated by a comma. It emphasizes that the config parameter is optional, but if used, it must be separated from the first parameter by a comma. Below is a generic example.
You can find the discussion in this thread: stackoverflow: what-do-the-brackets-around-the-arguments-mean
Describe the bug
axios(url[,config])应该改为axios(url,[config])。
To Reproduce
No response
Code snippet
No response
Expected behavior
No response
Axios Version
No response
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response