先执行安装fastclick的命令。
npm install fastclick -S
之后,在main.js中引入,并绑定到body。
import FastClick from 'fastclick' FastClick.attach(document.body);
先执行安装fastclick的命令。
npm install fastclick -S
之后,在main.js中引入,并绑定到body。
import FastClick from 'fastclick' FastClick.attach(document.body);
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M