Commit 92eda36917b17eb41ee8423a9e4e38dc00a7a08d
1 parent
e57ec5ab
购好物,11月2日,云测Bug清理~
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)) + 1); | |
| 205 | + this.$set(this.control, 'distance', -(this.$refs.items[0].clientWidth * (this.$refs.items.length - this.options.minCount))); | |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | // 设置移动 | ... | ... |