vue-intergrall-plugins 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4911,7 +4911,7 @@ const standardMessages = {
4911
4911
  };
4912
4912
  const {
4913
4913
  data
4914
- } = value;
4914
+ } = response;
4915
4915
  const {
4916
4916
  tipo,
4917
4917
  nivel,
@@ -4927,11 +4927,15 @@ const standardMessages = {
4927
4927
  msg_ret
4928
4928
  };
4929
4929
  } else {
4930
- return false;
4930
+ return msg_ret ? {
4931
+ msg_ret
4932
+ } : false;
4931
4933
  }
4932
4934
  } catch (error) {
4933
4935
  console.error("Erro na requisicao para o servidor (2)", error);
4934
- return false;
4936
+ return {
4937
+ msg_ret: error.message ? error.message : error
4938
+ };
4935
4939
  }
4936
4940
  }
4937
4941
  }