src/forms/responses.js
function defaultResponse(response) {
  var level =
    response.status < 300
      ? "info"
      : response.status < 500
        ? "warning"
        : "error";
  this.$emit("formMessage", {
    level: level,
    data: response.data,
    response: response
  });
}
function defaultResponse(response) {
  var level =
    response.status < 300
      ? "info"
      : response.status < 500
        ? "warning"
        : "error";
  this.$emit("formMessage", {
    level: level,
    data: response.data,
    response: response
  });
}
function defaultResponse ( response ) { var level = response . status < 300 ? "info" : response . status < 500 ? "warning" : "error" ; this . $emit ( "formMessage" , { level : level , data : response . data , response : response } ) ; }
The default response emit a formMessage to event to parent models
The default response emit a formMessage to event to parent models