Using Gaode map in vue, only the map logo is loaded, but the map is not loaded

In the process of using vue to develop, you need to use Gaode map, but after configuring according to the official document of Gaode map, only the logo of Gaode map is displayed, but the map cannot be loaded.

As shown below:

Solution:

This conflict can be resolved by commenting out the globally referenced mockjs.

 

 

Guess you like

Origin blog.csdn.net/qq_45870314/article/details/131044523