changes
This commit is contained in:
@@ -43,7 +43,7 @@ export default {
|
||||
let id = this.vbind.row.id;
|
||||
let result;
|
||||
if (this.setdeleted) {
|
||||
let record = await this.$getdata(name, { id: id }, undefined, true);
|
||||
let record = await this.$getdata(name, { first: true, filter: { id } });
|
||||
record.deleted = 1;
|
||||
result = await this.$updateapi(name, record);
|
||||
} else result = await this.$deleteapi(name, id);
|
||||
|
||||
Reference in New Issue
Block a user