pb-sxp-ui 1.15.43 → 1.15.44
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +4 -4
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +6 -1
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +4 -4
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/PictureGroup/index.js +6 -1
- package/lib/core/components/SxpPageRender/PictureGroup/index.js +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -18226,8 +18226,9 @@ const PictureGroup$4 = forwardRef(({ imgUrls, data, height, rec, index, onViewIm
|
|
18226
18226
|
};
|
18227
18227
|
});
|
18228
18228
|
useEffect(() => {
|
18229
|
+
let timerId;
|
18229
18230
|
if (isLoad && isActive && isDiyH5) {
|
18230
|
-
setTimeout(() => {
|
18231
|
+
timerId = setTimeout(() => {
|
18231
18232
|
var _a, _b, _c, _d, _e, _f;
|
18232
18233
|
if (!loopPlayRef.current)
|
18233
18234
|
return;
|
@@ -18240,6 +18241,10 @@ const PictureGroup$4 = forwardRef(({ imgUrls, data, height, rec, index, onViewIm
|
|
18240
18241
|
}
|
18241
18242
|
}, 3000);
|
18242
18243
|
}
|
18244
|
+
return () => {
|
18245
|
+
if (timerId)
|
18246
|
+
clearTimeout(timerId);
|
18247
|
+
};
|
18243
18248
|
}, [isLoad, isActive, isDiyH5, data, index, swiperRef]);
|
18244
18249
|
useEffect(() => {
|
18245
18250
|
if (isLoad && isActive) {
|