js判断客户端是pc端还是移动端Js判断客户端是否为PC还是手持移动设备 方法一 function IsPC(){ var userAgentInfo = navigator.userAgent var Agents = new Ar2023-04-29JavaScript310