在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ import 插件時(shí)報(bào)錯(cuò),SwiperAnimation is not a co

import 插件時(shí)報(bào)錯(cuò),SwiperAnimation is not a constructor?

1.引入插件

 import SwiperAnimation from 'swiper-animation';

2.使用

let SwiperAnimation = new SwiperAnimation();
SwiperAnimation.init(this.swswiper).animate();

3.報(bào)錯(cuò)

clipboard.png

回答
編輯回答
夢(mèng)囈

提示說了,SwiperAnimation這個(gè)不是一個(gè)構(gòu)造器,也即既不是函數(shù)也不是類

2017年3月1日 12:43