fex-team / ua-device

userAgent解析库
http://fex-team.github.io/ua-device/
BSD 3-Clause "New" or "Revised" License
1.45k stars 173 forks source link

执行不到这段代码 #58

Open hapi666 opened 4 years ago

hapi666 commented 4 years ago
  1. 这行执行不到: https://github.com/fex-team/ua-device/blob/04c62bbb02cdbfcef6404eae682ce98a7fe1055d/lib/ua-device.js#L122

  2. 是不是你前面这一行: https://github.com/fex-team/ua-device/blob/master/lib/ua-device.js#L10 判断条件里少了 xiaomi