Query on the source code of Taobao flexible layout scheme

function refreshRem() {
    var width = docEl.getBoundingClientRect().width;
    if (width / dpr > 540) {
        width = 540 * dpr;
    }
    var rem = width / 10; 
    docEl.style.fontSize = rem + "px";
    flexible.rem = win.rem = rem;
}

when looking at the source code of flexible, there is such a paragraph. I would like to ask why width is set to 540 * dpr when width / dpr > 540s.

Dec.08,2021

because Taobao sets a limit for the screen width of a mobile phone. The maximum screen width is 540. If you exceed 540, you are not considered to be a mobile phone.

Menu