Commit 8dbdfc9a authored by sheng du's avatar sheng du
Browse files

删除证照的问题修改

parent e205bd5b
No related merge requests found
......@@ -159,7 +159,10 @@ export default {
type: "warning",
})
.then(() => {
this.testData = this.testData.filter((item) => item.id != row.id);
let resList = this.testData.filter((item) => item.id != row.id);
let query = { field: "enterprisePhoto", data: resList };
this.$store.dispatch("tabledata/changeTableData", query);
this.$refs.table.loadData();
})
.catch(() => {});
......
......@@ -159,7 +159,9 @@ export default {
type: "warning",
})
.then(() => {
this.testData = this.testData.filter((item) => item.id != row.id);
let resList = this.testData.filter((item) => item.id != row.id);
let query = { field: "photo", data: resList };
this.$store.dispatch("tabledata/changeTableData", query);
this.$refs.table.loadData();
})
.catch(() => {});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment