使用swiper插件时,报错 Do not use ‘new’ for side effects
报错显示:
解决办法:
在new Swiper上一行加/* eslint-disable no-new */
即:
使用swiper插件时,报错 Do not use ‘new‘ for side effects
最新推荐文章于 2022-04-28 23:02:45 发布
使用swiper插件时,报错 Do not use ‘new’ for side effects
报错显示:
解决办法:
在new Swiper上一行加/* eslint-disable no-new */
即: