v-model="scope.row.mg_state" ></el-switch> </template> </el-table-column> 二、觸發(fā)時間調(diào)用后端接口,修改開關數(shù)據(jù) 給Switch 開關加上@change="changeStatus($event, scope.row, scope.$index)" 1 2 3 4 5 6 7 8 9 10 <el-table-column prop="disable"label="狀態(tài)"width="120"> <template ...
www.dbjr.com.cn/javascript/291150k...htm 2025-6-7