Commit 57fedf6f authored by 陈颖's avatar 陈颖

~

parent 4e84bee6
Pipeline #48932 passed with stage
in 7 seconds
......@@ -187,8 +187,8 @@ module.exports = {
async getGPS(address, city) {
const txmap = await this.getTaskAddress(city + address);
if (Object.keys(txmap).length !== 0 && txmap !== '未知') {
return txmap.location;
if (Object.keys(txmap).length !== 0 && txmap.info !== '未知') {
return txmap.info.location;
}
return { lng: 0, lat: 0 };
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment