|
@@ -10,6 +10,7 @@ import "vxe-table/lib/style.css";
|
|
|
import utils from "@/utils/index";
|
|
|
import dictUtils from "@/utils/dictUtils";
|
|
|
import httpRequest from "@/utils/httpRequest";
|
|
|
+import commonJS from '@/utils/common';
|
|
|
import validator from "@/utils/validator";
|
|
|
import components from "./components";
|
|
|
import i18n from "./i18n";
|
|
@@ -48,6 +49,7 @@ app.config.globalProperties.lodash = lodash;
|
|
|
app.config.globalProperties.deepClone = utils.deepClone;
|
|
|
app.config.globalProperties.validatenull = utils.validatenull;
|
|
|
app.config.globalProperties.$http = httpRequest; // ajax请求方法
|
|
|
+app.config.globalProperties.commonJS = commonJS; // ajax请求方法
|
|
|
app.config.globalProperties.$cookies = VueCookies;
|
|
|
|
|
|
app.use(store);
|