ElementUI的表格中如何用switch开关表示状态?

ElementUI的表格中如何用switch开关表示状态?

methods: {
changeSwitch(status){
//调用后台修改接口
console.log(value);
}
},
data() {
return {
tableData: [
{
key: “XS1115”,
value: “16637531877”,
describle: “在线”,
status: 1,
createName: “张三”,
createTime: “1993-01-16”,
},
{
key: “XS1115”,
value: “16637531877”,
describle: “在线”,
status: 0,
createName: “李四”,
createTime: “1993-01-16”,
}
]
}
}

上一篇:Error creating bean with name 'transactionManager' defined in class path resource [spring-


下一篇:Java Error creating bean with name:Bean with name has been injected into other beans in its raw问题解决