vue+高德 引入图片图层显示跨域

图片本地上传,地址是写完整了的,网页端正常打开,但是添加进去就显示跨域了,请问这是怎么回事?

代码如下:


let imageLayer = new AMap.ImageLayer({
  url: 'https://lmg.jj20.com/up/allimg/4k/s/02/2109250006343S5-0-lp.jpg',//网上图片
  // url: 'https://amappc.cn-hangzhou.oss-pub.aliyun-inc.com/lbs/static/img/dongwuyuan.jpg',// 图片
  bounds: new AMap.Bounds(imagesw, imagene),
  zooms: [1, 50]
});
map.add(imageLayer);

img

你这个不是跨域,是没有权限读取这个图片,请采纳