我這樣寫,為什么大圖左右滑動不了?
還有報錯:zepto.min.js:126 Uncaught TypeError: Cannot read property 'trigger' of undefined ? ? at zepto.min.js:126
是什么問題?
還有報錯:zepto.min.js:126 Uncaught TypeError: Cannot read property 'trigger' of undefined ? ? at zepto.min.js:126
是什么問題?
2018-01-16
舉報
2018-03-07
把他給的zepto.min.js里面第二行“;”開始直到末尾的東西刪除掉,然后替換成下面網址里的代碼即可。
https://github.com/madrobby/zepto/blob/master/src/touch.js#files
這個是更新后的touch模塊。(最好是拷貝一份來做,免得嘛~~)