@cloudbase/cals 1.2.22 → 1.2.23

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.
@@ -496,6 +496,7 @@ function loadProdMetaScript(bundleName, filename) {
496
496
  try {
497
497
  const iframe = document.createElement('iframe');
498
498
  iframe.setAttribute('sandbox', 'allow-scripts');
499
+ iframe.setAttribute('allow', 'local-network-access');
499
500
  iframe.style.position = 'absolute'; // 脱离文档流
500
501
  iframe.style.left = '-9999px'; // 移到屏幕左侧很远的地方
501
502
  iframe.style.top = '-9999px'; // 移到屏幕上方很远的地方
@@ -492,6 +492,7 @@ function loadProdMetaScript(bundleName, filename) {
492
492
  try {
493
493
  const iframe = document.createElement('iframe');
494
494
  iframe.setAttribute('sandbox', 'allow-scripts');
495
+ iframe.setAttribute('allow', 'local-network-access');
495
496
  iframe.style.position = 'absolute'; // 脱离文档流
496
497
  iframe.style.left = '-9999px'; // 移到屏幕左侧很远的地方
497
498
  iframe.style.top = '-9999px'; // 移到屏幕上方很远的地方