vue阻止change事件冒泡
<span @click.stop><el-switchv-model="_item.status"active-color="#409EFF"inactive-color="#eeeeee":active-value="0":inactive-value="1"@change="handleChangeFun(_item.id, _item)"></el-switc
·
<span @click.stop>
<el-switch
v-model="_item.status"
active-color="#409EFF"
inactive-color="#eeeeee"
:active-value="0"
:inactive-value="1"
@change="handleChangeFun(_item.id, _item)"
>
</el-switch>
</span>
更多推荐
已为社区贡献7条内容
所有评论(0)