Browse Source

打印测试

feature/3.1.0-小区合伙人
lfs3 6 years ago
parent
commit
1d38bab583
1 changed files with 1 additions and 0 deletions
  1. 1
      src/models/wxLocation.js

1
src/models/wxLocation.js

@ -37,6 +37,7 @@ Vue.prototype.wxLocation = function () {
type: "gcj02", // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
success: function (res) {
console.log('res:'+res);
alert('res:'+res);
localStorage.setItem("latitude", res.latitude);
localStorage.setItem("longitude", res.longitude);
$.ajax({

Loading…
Cancel
Save