throw "string" -> throw new Error("string"
This commit is contained in:
@@ -593,7 +593,6 @@ export default {
|
||||
});
|
||||
|
||||
if (res.error) {
|
||||
// throw res.error;
|
||||
vm.formState.serverError = res.error;
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user