Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-10-18 12:06:09 | 2 | * @Date: 2024-10-18 12:06:09 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-12-04 11:42:11 | 4 | + * @LastEditTime: 2024-12-05 10:19:51 |
| 5 | * @FilePath: /hager/src/views/solution/case.vue | 5 | * @FilePath: /hager/src/views/solution/case.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -177,7 +177,7 @@ export default { | ... | @@ -177,7 +177,7 @@ export default { |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
| 180 | - this.$refs.myProductSwiper.$swiper?.on('breakpoint', (swiper) => { | 180 | + this.$refs.myProductSwiper?.$swiper?.on('breakpoint', (swiper) => { |
| 181 | // breakpoint时 显示的条数 | 181 | // breakpoint时 显示的条数 |
| 182 | this.productSlidesPerView = swiper.slidesPerView | 182 | this.productSlidesPerView = swiper.slidesPerView |
| 183 | }); | 183 | }); | ... | ... |
-
Please register or login to post a comment