如何用javascript 来获取客户端 屏幕的dpi 值获取PPI:function js_getDPI() {var arrDPI = new Arrayif (window.screen.deviceXDPI) {arrDPI[0] = window.screen.deviceXDPIarr2023-04-10JavaScript280