chore: 更改elRectification默认option
This commit is contained in:
parent
281c420f3e
commit
0db2ae46cd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue