Uncaught TypeError: Cannot read property 'msTouchAction' of undefined
来源:3-2 路由配置+ tab 顶导组件开发
阮连军
2017-12-03
为什么会报错呢,按照视频来的
fastclick.js?bf9a:792 Uncaught TypeError: Cannot read property 'msTouchAction' of undefined at Function.FastClick.notNeeded (fastclick.js?bf9a:792) at new FastClick (fastclick.js?bf9a:105) at Function.FastClick.attach (fastclick.js?bf9a:825) at eval (main.js?3479:9) at Object../src/main.js (app.js:3700) at __webpack_require__ (app.js:679) at fn (app.js:89) at Object.0 (app.js:3717) at __webpack_require__ (app.js:679) at app.js:725
import 'babel-polyfill' import Vue from 'vue' import App from './App' import router from './router' import FastClick from 'fastclick' import 'common/stylus/index.styl' FastClick.attach('document.body') /* eslint-disable */ new Vue({ el: '#app', router, render: h => h(App) });
写回答
2回答
-
ustbhuangyi
2017-12-03
fastclick.attach(document.body)
00 -
阮连军
提问者
2017-12-03
Iphone6下回报错,其他的没有错误为什么呀
00
相似问题