This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.$gz.form.deleteAllErrorBoxErrors(vm);
|
window.$gz.form.deleteAllErrorBoxErrors(vm);
|
||||||
let res = await window.$gz.api.upsert(
|
let res = await window.$gz.api.remove(
|
||||||
`notify/${item.id}`,
|
`notify/${item.id}`,
|
||||||
this.selectedItems
|
this.selectedItems
|
||||||
);
|
);
|
||||||
@@ -109,7 +109,7 @@ export default {
|
|||||||
vm.formState.serverError = res.error;
|
vm.formState.serverError = res.error;
|
||||||
window.$gz.form.setErrorBoxErrors(vm);
|
window.$gz.form.setErrorBoxErrors(vm);
|
||||||
}
|
}
|
||||||
this.reload = !this.reload;
|
await this.getDataFromApi();
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
window.$gz.errorHandler.handleFormError(ex, vm);
|
window.$gz.errorHandler.handleFormError(ex, vm);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user