@whitesev/pops 2.0.13 → 2.0.14

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/dist/index.umd.js CHANGED
@@ -10260,7 +10260,7 @@
10260
10260
  if (typeof item.icon === "string" && item.icon.trim() !== "") {
10261
10261
  let iconSVGHTML = PopsIcon.getIcon(item.icon) ?? item.icon;
10262
10262
  let iconElement = popsDOMUtils.parseTextToDOM(
10263
- /*html*/ `<i class="pops-${PopsType}-icon" is-loading="${item.iconIsLoading}">${iconSVGHTML}</i>`);
10263
+ /*html*/ `<i class="pops-${PopsType}-icon" is-loading="${item.iconIsLoading ?? false}">${iconSVGHTML}</i>`);
10264
10264
  menuLiElement.appendChild(iconElement);
10265
10265
  }
10266
10266
  /* 插入文字 */