求问Javascript如何获取屏幕的分辨率(PPIDPI)?获取PPI:function js_getDPI() {var arrDPI = new Arrayif (window.screen.deviceXDPI) {arrDPI[0] = window.screen.deviceXDPIarr2023-02-28JavaScript220