//无效切换 赞 踩 elementui表格中使用switch时,插槽一定要标明 Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。
ElementUi 解决在table中使用el-switch无效_elementui table el-switch
slot-scope=“scope”//正常切换
<template slot-scope="scope">
<el-switch
v-model="value">
</el-switch>
</template>
//无效切换
<template>
<el-switch
v-model="value">
</el-switch>
</template>