@windrun-huaiin/third-ui 5.9.0 → 5.9.1
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/fuma/mdx/index.js +2 -2
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +2 -2
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs.map +1 -1
- package/package.json +1 -1
- package/src/fuma/mdx/image-grid.tsx +1 -1
- package/src/fuma/mdx/image-zoom.tsx +1 -1
package/dist/fuma/mdx/index.js
CHANGED
|
@@ -2710,7 +2710,7 @@ function ImageZoom(_a) {
|
|
|
2710
2710
|
zoomInProps,
|
|
2711
2711
|
children,
|
|
2712
2712
|
rmiz,
|
|
2713
|
-
fallbackSrc = "/default.webp"
|
|
2713
|
+
fallbackSrc = "https://r2.d8ger.com/default.webp"
|
|
2714
2714
|
} = _b, props = __objRest(_b, [
|
|
2715
2715
|
"zoomInProps",
|
|
2716
2716
|
"children",
|
|
@@ -2796,7 +2796,7 @@ function ImageGrid({
|
|
|
2796
2796
|
children: images.map((img, idx) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2797
2797
|
ImageZoom,
|
|
2798
2798
|
{
|
|
2799
|
-
src: type === "url" ? `${cdnBaseUrl}/${img}` : img,
|
|
2799
|
+
src: img.startsWith("http://") || img.startsWith("https://") ? img : type === "url" ? `${cdnBaseUrl}/${img}` : img,
|
|
2800
2800
|
alt: `${altPrefix}-${idx + 1}`
|
|
2801
2801
|
},
|
|
2802
2802
|
img
|