canvas跨域图片报Tainted canvases may not be exported.解决办法——在路径后面添加时间戳
img.src = url + "?v=" + new Date().getTime();
或
<div :style="{background:`url(${option.itemUrl}?v=${new Date().getTime()}) top center no-repeat`}"
></div>
canvas跨域图片报Tainted canvases may not be exported.解决办法——在路径后面添加时间戳
img.src = url + "?v=" + new Date().getTime();
或
<div :style="{background:`url(${option.itemUrl}?v=${new Date().getTime()}) top center no-repeat`}"
></div>