This commit is contained in:
2019-03-11 22:43:10 +00:00
parent a8bc4e5471
commit a6823fff76
3 changed files with 24 additions and 14 deletions

View File

@@ -16,6 +16,7 @@ import dayjs from "dayjs";
import lodash from "./libs/lodash.min.js";
import locale from "./api/locale";
import gzapi from "./api/apiutil";
import gzvalidate from "./api/gzvalidate";
/////////////////////////////////////////////////////////////////
// LIBS AND GLOBAL ITEMS
@@ -25,6 +26,7 @@ Object.defineProperty(Vue.prototype, "$dayjs", { value: dayjs });
Object.defineProperty(Vue.prototype, "$_", { value: lodash });
Object.defineProperty(Vue.prototype, "$gzlocale", { value: locale });
Object.defineProperty(Vue.prototype, "$gzapi", { value: gzapi });
Object.defineProperty(Vue.prototype, "$gzv", { value: gzvalidate });
Object.defineProperty(Vue.prototype, "$gzerror", {
value: errorHandler.handleFormError
});