@ -212,11 +212,11 @@ export default {
dicData: [
{
label: "开启",
value: "1",
value: true,
},
label: "关闭",
value: "0",
value: false,
],
@ -141,6 +141,9 @@
rowSave(row, done, loading) {
console.log("row",row);
row.fileName = this.fileName;
if(!row.knifeSwitch){
row.knifeSwitch = true;
}
add(row).then(() => {
this.onLoad(this.page);
this.$message({