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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37ff0-2c0d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37ff0-2c0d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?