beginNav (address, y, x) {
// originX: '', // 当前浏览器定位的位置
// originY: '', // 当前浏览器定位的位置
let trimAddress = address.replace(/\s+/g, "");
let src = `https://uri.amap.com/navigation?from=${this.originY},${this.originX},当前位置&to=${y},${x},${trimAddress}&policy=1&coordinate=gaode&callnative=0`
window.open(src)
}
官方文档指引: