Vue uses AutoNavi map error’AMapUI’ is not defined,’AMap’ is not defined problems and solutions.
![](https://www.7ix.net/wp-content/uploads/2021/06/9ca7aa37f432f5610be9333d32401abe.jpeg)
After introducing the AutoNavi map in index.html, it reported the error’AMapUI’ is not defined,’AMap’ is not defined’ First, I tried to put the reference of the Gaode map in the body and found that it was useless, and then found…