![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
Akane_All
斯人所彩虹,遇上方知有
展开
-
使用better-scroll时,v-for里的@click事件失效问题
在同一个组件里,因为从数据库查询出来展示的数据较多,所以我使用了better-scroll滚动展示v-for出来的信息,但是在单个信息里面的@click点击无反应。我目前遇到的这个问题的原因是:better-scroll默认会阻止touch事件。所以在配置中需要加上click: true import BScroll from 'better-scroll' mounted ...原创 2019-01-20 20:32:21 · 672 阅读 · 0 评论 -
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\...\node_modules\node-sas
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\Community\D4Mobile\node_modules\node-sass\vendor'这种情况遇到过很多次,每次都是没有头绪。今天发现如下操作可以让程序正常运行。毓妤@LAPTOP-UU2E0EOM MINGW64 /d/Co...原创 2019-05-24 13:40:20 · 14506 阅读 · 5 评论