提交 a7080e7f 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整get-location 自动化脚本。

上级 35157137
......@@ -213,8 +213,10 @@
altitude: this.jest_isAltitude,
isHighAccuracy: this.jest_isHighAccuracy,
geocode: this.jest_isGeocode,
success: (res : any) => {
this.jest_address = res.address
success: (res : any) => {
if (res.address != null) {
this.jest_address = res.address!
}
this.jest_longitude = res.longitude
this.jest_latitude = res.latitude
this.jest_altitude = res.altitude
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册