wotokol-edm 1.1.20 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/wotokol-edm.common.js
CHANGED
|
@@ -99417,8 +99417,16 @@ function getBlob(url, cb) {
|
|
|
99417
99417
|
xhr.onload = function () {
|
|
99418
99418
|
if (xhr.status === 200) {
|
|
99419
99419
|
cb(xhr.response);
|
|
99420
|
+
} else {
|
|
99421
|
+
window.open(url, "_blank");
|
|
99422
|
+
return false;
|
|
99420
99423
|
}
|
|
99421
99424
|
};
|
|
99425
|
+
// 处理网络错误
|
|
99426
|
+
xhr.onerror = function () {
|
|
99427
|
+
window.open(url, "_blank");
|
|
99428
|
+
return false;
|
|
99429
|
+
};
|
|
99422
99430
|
xhr.send();
|
|
99423
99431
|
}
|
|
99424
99432
|
// 保存
|
package/wotokol-edm.common.js.gz
CHANGED
|
Binary file
|
package/wotokol-edm.umd.js
CHANGED
|
@@ -99427,8 +99427,16 @@ function getBlob(url, cb) {
|
|
|
99427
99427
|
xhr.onload = function () {
|
|
99428
99428
|
if (xhr.status === 200) {
|
|
99429
99429
|
cb(xhr.response);
|
|
99430
|
+
} else {
|
|
99431
|
+
window.open(url, "_blank");
|
|
99432
|
+
return false;
|
|
99430
99433
|
}
|
|
99431
99434
|
};
|
|
99435
|
+
// 处理网络错误
|
|
99436
|
+
xhr.onerror = function () {
|
|
99437
|
+
window.open(url, "_blank");
|
|
99438
|
+
return false;
|
|
99439
|
+
};
|
|
99432
99440
|
xhr.send();
|
|
99433
99441
|
}
|
|
99434
99442
|
// 保存
|
package/wotokol-edm.umd.js.gz
CHANGED
|
Binary file
|