将时间戳转为自定义格式
this.form.endDate = moment(row.endDate).format("YYYY-MM-DD HH:mm:ss");
获取当前定位信息(经纬度)
getAddressByMap() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(this.showPosition, this.showError);
} else {
console.log("Geolocation is not supported by this browser.");
}
},