From 1210d5c10991c9f843a1770364a30fbfd3c5a5d8 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 13 一月 2026 13:17:45 +0800
Subject: [PATCH] 1.外购下单:标签打印功能调整 2.人员:培训计划导入导出添加【培训大类】字段 3.业务管理:报检新增【物料属性】字段选择,其余页面添加【物料属性】查询条件以及数据回显 4.标准库:布局优化,左侧选择树支持横向拖拽动态调整宽度

---
 src/main.js |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/main.js b/src/main.js
index 0736a8c..a688c54 100644
--- a/src/main.js
+++ b/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;
@@ -66,9 +65,8 @@
 Vue.prototype.HaveJson = (val) => {
   return JSON.parse(JSON.stringify(val));
 };
-Vue.prototype.javaApi = process.env.VUE_APP_BASE_API
-  ? process.env.VUE_APP_BASE_API
-  : "http://192.168.0.170:8002";
+// Vue.prototype.javaApi = "http://192.168.21.53:8001/lims";
+Vue.prototype.javaApi = "http://127.0.0.1:8001";
 Vue.prototype.checkPermi = checkPermi;
 Vue.prototype.uploadHeader = {
   Authorization: "Bearer " + getToken(),
@@ -110,7 +108,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;

--
Gitblit v1.9.3