zouyu
昨天 2e4a6c4526b6c22808d5877f2050da852bfaebe7
src/main.js
@@ -1,7 +1,5 @@
import Vue from "vue";
import Cookies from "js-cookie";
import Element from "element-ui";
import "./assets/styles/element-variables.scss";
@@ -51,8 +49,9 @@
import { getToken } from "@/utils/auth";
// 时间转换
import Moment from "moment";
import Big from 'big.js'
// 全局方法挂载
Vue.prototype.$Big = Big;
Vue.prototype.getDicts = getDicts;
Vue.prototype.getConfigKey = getConfigKey;
Vue.prototype.parseTime = parseTime;
@@ -108,7 +107,7 @@
 */
Vue.use(Element, {
  size: Cookies.get("size") || "medium", // set element-ui default size
  size: localStorage.getItem("size") || "medium", // set element-ui default size
});
Vue.config.productionTip = false;