This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user