.native修饰符
el-row(:gutter="20")
el-col(@click.native="testClick(index)")
i(:class='item.iconClass',style='font-size:64px').iconfont
p(style='margin:0') {{item.name}}
p ¥{{item.price}}/次
在组件上使用@click需要加上.native修饰符
来源:CSDN
作者:天道酬勤_鹿
链接:https://blog.csdn.net/ld395353765/article/details/103975287