Commit 5d60d122 by tangjiale

改为小写

parent 430eafde
...@@ -47,9 +47,9 @@ ...@@ -47,9 +47,9 @@
methods:{ methods:{
initSwiper(){ initSwiper(){
//轮播参数 //轮播参数
const Swiper = require('Swiper') const swiper = require('swiper')
let _this = this; let _this = this;
this.comSwiper = new Swiper(this.$refs['left-scroll'], { this.comSwiper = new swiper(this.$refs['left-scroll'], {
direction: "vertical", direction: "vertical",
loop:_this.list.length >= _this.showMaxNum ? true : false, loop:_this.list.length >= _this.showMaxNum ? true : false,
initialSlide: _this.active, initialSlide: _this.active,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment