From 234c97fecb53673355de5f2fba18502a250a55ef Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 6 Mar 2018 13:42:34 +0800 Subject: [PATCH] Remove fastclick --- package.json | 1 - src/index.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/package.json b/package.json index d3fadd79..915d0e54 100755 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "dva": "^2.1.0", "dva-loading": "^1.0.4", "enquire-js": "^0.1.1", - "fastclick": "^1.0.6", "lodash": "^4.17.4", "lodash-decorators": "^4.4.1", "moment": "^2.19.1", diff --git a/src/index.js b/src/index.js index ef86ed2a..b4da8eed 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,6 @@ import createHistory from 'history/createHashHistory'; // import createHistory from 'history/createBrowserHistory'; import createLoading from 'dva-loading'; import 'moment/locale/zh-cn'; -import FastClick from 'fastclick'; import './rollbar'; import './index.less'; @@ -28,7 +27,4 @@ app.router(require('./router').default); // 5. Start app.start('#root'); - -FastClick.attach(document.body); - export default app._store; // eslint-disable-line -- GitLab