This commit is contained in:
2020-07-21 15:33:22 +00:00
parent 71469f9c2b
commit fcd0b8e2cb

View File

@@ -101,7 +101,7 @@ export default {
}
window.$gz.form.deleteAllErrorBoxErrors(vm);
let res = await window.$gz.api.upsert(
let res = await window.$gz.api.remove(
`notify/${item.id}`,
this.selectedItems
);
@@ -109,7 +109,7 @@ export default {
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);
}
this.reload = !this.reload;
await this.getDataFromApi();
} catch (ex) {
window.$gz.errorHandler.handleFormError(ex, vm);
}