实现表格中的el-switch 开关切换

1、目的: vue项目 实现表格中的el-switch 开关切换请求后台接口,请求成功则开启成功,请求失败则处于关闭状态html 2、实现步骤: 一、html部分: <template slot-scope="scope"> <el-switch v-model="scope.row.status" active-color="#13ce66" inactive-color="#ff
相关文章
相关标签/搜索