提交 3296f95d 编写于 作者: 张敬贤's avatar 张敬贤

fix

上级 cbfdc056
......@@ -28,7 +28,7 @@
<script src="<%= VUE_APP_OSS_URL %>static/js/crypto.min-4.0.0.js"></script>
<script src="<%= VUE_APP_OSS_URL %>static/js/vconsole-3.3.4.js"></script>
<script src="<%= VUE_APP_OSS_URL %>static/js/lodash-4.17.15.js"></script>
<script type="text/javascript" src="https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js"></script>
<script type="text/javascript" src="https://apis.map.qq.com/tools/geolocation/min?key=GCUBZ-6O6K3-VVB3E-3PNKF-HY77K-G6BTN&referer=myapp"></script>
<script>
!(function(c,b,d,a){c[a]||(c[a]={});c[a].config=
{
......
......@@ -62,7 +62,7 @@ window._AMapSecurityConfig = {
securityJsCode: '5dfc1ae6a14ad5c005ffb2ad6d718ae4'
};
var geolocation = new qq.maps.Geolocation('GCUBZ-6O6K3-VVB3E-3PNKF-HY77K-G6BTN', 'myapp');
var geolocation = new qq.maps.Geolocation();
console.log('geolocation', geolocation.getLocation);
geolocation.getLocation(function (result) {
console.log('result', result);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册