引入是lazyAMapApiLoaderInstance必须在VueAMap.initAMapApiLoader的后面,否者会报错:
vue.runtime.esm.js?a593:619 [Vue warn]: Error in created hook: “TypeError: Cannot read property ‘load’ of null”
使用vue-amap引入lazyAMapApiLoaderInstance
猜你喜欢
转载自blog.csdn.net/qq_41411324/article/details/113129373
今日推荐
周排行