window.navigator.userAgent.toLowerCase();一段代码报错如下:Cannot read property 'userAgent' of undefined 查看完整描述