Fix auto2top in mobile
This commit is contained in:
parent
aa1d84b513
commit
299c31dff9
4 changed files with 21 additions and 6 deletions
|
|
@ -95,3 +95,8 @@ export function getRoute () {
|
|||
|
||||
return route
|
||||
}
|
||||
|
||||
export function isMobile () {
|
||||
return /mobile/i.test(navigator.userAgent)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue