在nuxt2、nuxt3项目开发中,引入使用vue-awesome-swiper轮播图组件后,控制台出现报错:Uncaught TypeError: Failed to execute getComputedStyle’ on ‘Window’: parameter 1 is not of type ‘Element’? 轮播图报错、点击无效等问题,完美解决方法。
nuxt2/3 - 报错getComputedStyle‘ on ‘Window‘: parameter 1 is not of type ‘Element‘?(vue-awesome-swiper)
nuxt.js,nuxt2,nuxt3,vue-awesome-swiper,轮播图,加了.swiper-container类名还是报错,class,轮播图无法使用,浏览器控制台报错,nuxt vue-awesome-swiper,正确在Vue中使用awesome-swiper;解决点击不生效的问题,Uncaught TypeError: Failed to execute getComputedStyle' on 'Window': parameter 1 is not of type 'Element'