一、终端中
npm install fastclick --save
二、main.js中
import FastClick from 'fastclick' FastClick.attach(document.body);