uni.chooseLocation({ success: function(res) { console.log('位置名称:' + res.name); console.log('详细地址:' + res.address); console.log('纬度:' + res.latitude); console.log('经度:' + res.longitude); this.takeaddress = res.address; this.takename = res.name; console.log( this.takeaddress); console.log( this.takename); } });
标签:takename,uniapp,console,log,res,地图,address From: https://www.cnblogs.com/zf08/p/16737681.html