fastclick无需对IOS11及以上做处理

// 解决click点击300毫秒延时问题 (IOS11及以上无需处理)
import FastClick from 'fastclick'

const device = navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/) if (!device || parseInt(device[1]) < 11) { FastClick.attach(document.body) }
原文地址:https://www.cnblogs.com/lanshengzhong/p/10754928.html