diff --git a/package.json b/package.json index d3fadd79b26257f037b920cd728061f719771de6..915d0e548558e64f06a56ae8bb51ac5b211cc3d2 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 ef86ed2a1d732c4feafe38fa9d8f9bd0b28b7692..b4da8eed873f932e1350418237d42d76acea451b 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