我使用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