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

@click="getIndex();getIndex2()" 不同方法中间需要用 ";" 号分隔
posted @ 2019-09-16 13:03  SunPangYu  阅读(7359)  评论(0编辑  收藏  举报