我使用vue2谷歌地图组件在Vue他们是workng罚款。 但如果我尝试在数据返回谷歌创建对象或计算像 new google.maps.Point(20,40)
有 ReferenceError: google is not defined at VueComponent.data (app.js:sourcemap:69896) at getData (app.js:sourcemap:65
我的应用程序中的所有内容都工作得很好,直到我开始添加我的JavaScript。现在我不断在控制台中发现错误。 我得到这个错误: Property or method "show" is not defined on the instance but referenced during render. Make sure that this property is reactive, either