Commit 57ac72eadbd7025ebeebc031eac640d676d2adc6
Merge branch 'version_2.0.0_optimization_mall_update' of http://bj.gitlab.cnlive…
….com/w-front-end/select_good into version_2.0.0_optimization_mall_update
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/marqueeCom/marqueeCom.vue
| ... | ... | @@ -202,7 +202,7 @@ |
| 202 | 202 | } else { |
| 203 | 203 | |
| 204 | 204 | // 修正this.control.distance的位置值 |
| 205 | - this.$set(this.control, 'distance', -(this.$refs.items[0].clientWidth * (this.$refs.items.length - this.options.minCount))); | |
| 205 | + this.$set(this.control, 'distance', -(this.$refs.items[0].clientWidth * (this.$refs.items.length - this.options.minCount)) + 1); | |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | // 设置移动 | ... | ... |