1.安装fastclick
cnpm i fastclick --save
2. 在main.js中引入并绑定到body
import fastclick from 'fastclick';
3. fastclick.attach(document.body);
1.安装fastclick
cnpm i fastclick --save
2. 在main.js中引入并绑定到body
import fastclick from 'fastclick';
3. fastclick.attach(document.body);