Tag Archives: Axios view

Vue axios Error: Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.keys () at mergeConfig (axios.js:1308)

Problem: In VUE version 3.0.4, an error is reported when using axios
Uncaught (in promise) TypeError: Cannot convert undefined or null to object     at Function.keys (<anonymous>)     at mergeConfig (axios.js:1308)

 

Solution:
Reinstall axios:

npm install [email protected] --save

okay~