mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 10:41:20 -08:00
chore: 更新版本号至 5.2.2,并移除图片加载中的跨域设置
This commit is contained in:
1 parent
625f96534b
commit
f685e1a7db
2 files changed
+1
-2
No files matched your search
@@ -121,7 +121,6 @@ export function getRect(el) {
|
||||
export function loadImg(url, scale) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const img = new Image();
|
||||
img.crossOrigin = 'Anonymous';
|
||||
|
||||
img.onload = function () {
|
||||
if (!scale || scale === 1) {
|
||||
|
||||
Reference in new issue
Block a user