我想使用地理位置和方向函数,但有google is not defined错误。代码如下: var script = document.createElement('script'); script.src = "https://maps.googleapis.com/maps/api/js?key=mykey&sensor=true" + "&a
我下载了JET-Template-Web-NavBar,并在dashboard.html和js中替换了示例中给出的代码,但它抛出了错误消息 dashboard.js:73 Uncaught (in promise) ReferenceError: ValidationBase is not defined
at new DashboardViewModel (dashboard.js:73) js文件