關于vue-amap marker坐标自動居中顯示 this.$nextTick(()=>{ this.$refs.map.$$getInstance().setFitView() }) 或者可以使用setTimeOut定時器