The reason for this kind of problem is that the page has not been loaded yet, the map starts to load, or the map loads before the page loads
In the project, I isMapLoading
control the loading of the map with, false
--load, true
--not load, data()
set inisMapLoading=true