|
@@ -64,7 +64,7 @@
|
|
|
<el-table-column label="操作" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button @click="edit(scope.row)" type="text" size="small">编辑</el-button>
|
|
|
- <el-popconfirm title="是否删除此设备的信息?" @onConfirm="del(scope.row)">
|
|
|
+ <el-popconfirm title="是否删除此设备的信息?" @confirm="del(scope.row)">
|
|
|
<el-button slot="reference" type="text" size="small">删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
</template>
|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
delete this.formData.id;
|
|
|
},
|
|
|
edit(row) {
|
|
|
- // 数据回填
|
|
|
+ // 数据回填
|
|
|
console.log(row.target);
|
|
|
this.formData = row;
|
|
|
this.$store.state["sheepType"].forEach(item => {
|
|
@@ -298,4 +298,4 @@ export default {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|