When this kind of error occurs, we only need to import all the plug-ins
All plugins in plugin are introduced in main.js
Then write all the plugins in the script tag in index.html
<script type=”text/javascript” src=”https://webapi.amap.com/maps?key=429593be2689e1e83e365924b6a9f236&v=1.4.4&plugin=AMap.Geolocation,AMap.Autocomplete,AMap.PlaceSearch,AMap.Scale,AMap.%20OverView,AMap.ToolBar,AMap.MapType,AMap.PolyEditor,AMap.CircleEditor”></script>
This will remove the error