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

调整get-location 自动化脚本。

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