git reset HEAD 的时候报错

warning: LF will be replaced by CRLF in h.txt.The file will have its original line endings in your working directory.

解决:运行命令

git commit --allow-empty -n -m "Initial commit"

应该是因为git版本的问题

swiper滑动异样的问题

解决办法: 加上这两个属性

<swiper :options="swiperOption" class="swiper-box" ref="mySwiper">data(){return {    swiperOption:{    observer:true,//批改swiper本人或子元素时,主动初始swiper    observeParents:true}}}