vue中添加多个点击事件方法

@click="getIndex();getIndex2()" 不同方法中间需要用 ";" 号分隔

猜你喜欢

转载自www.cnblogs.com/sunpangyu/p/11526781.html