Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行不到这段代码 #58

Open
hapi666 opened this issue Dec 19, 2019 · 0 comments
Open

执行不到这段代码 #58

hapi666 opened this issue Dec 19, 2019 · 0 comments

Comments

@hapi666
Copy link

hapi666 commented Dec 19, 2019

  1. 这行执行不到:

    else if (uaData.device.manufacturer && uaData.device.manufacturer.toLowerCase() === 'xiaomi' && uaData.device.model) {

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant