chore: 更改elRectification默认option

This commit is contained in:
Electrolux 2023-12-18 16:38:11 +08:00
parent 281c420f3e
commit 0db2ae46cd
1 changed files with 2 additions and 2 deletions

View File

@ -49,12 +49,12 @@ const autofit = {
timer = setTimeout(() => {
keepFit(dw, dh, dom, ignore, limit);
isElRectification &&
elRectification(currelRectification, currelRectificationResponsive,currelRectificationLevel);
elRectification(currelRectification, currelRectificationIsKeepRatio,currelRectificationLevel);
}, delay);
else {
keepFit(dw, dh, dom, ignore, limit);
isElRectification &&
elRectification(currelRectification,currelRectificationResponsive, currelRectificationLevel);
elRectification(currelRectification,currelRectificationIsKeepRatio, currelRectificationLevel);
}
};
resize && window.addEventListener("resize", resizeListener);