最开始使用@click=“hand”
在hand方法里边设置阻止冒泡事件 报错:Cannot set property bubbles of #<Event> which has only a getter
只能获取不能修改属性
解决方法:@click.self="hand"
,阻止冒泡
最开始使用@click=“hand”
在hand方法里边设置阻止冒泡事件 报错:Cannot set property bubbles of #<Event> which has only a getter
只能获取不能修改属性
解决方法:@click.self="hand"
,阻止冒泡