判断是否是移动端

4年以前  |  阅读数:326 次  |  编程语言:JavaScript 
const isMobile = () => 'ontouchstart' in window

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8