From 50111114eb8254fe4d6fc15e9781f2c47e3db74a Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期三, 24 七月 2024 00:12:52 +0800
Subject: [PATCH] 删除工艺路线绑定

---
 src/utils/env.ts |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/utils/env.ts b/src/utils/env.ts
index 061cdd8..1f893a6 100644
--- a/src/utils/env.ts
+++ b/src/utils/env.ts
@@ -1,10 +1,10 @@
 /*
  * @Description: file content
  * @Author: your name
- * @version: 
+ * @version:
  * @Date: 2024-06-17 14:51:26
- * @LastEditors: your name
- * @LastEditTime: 2024-06-17 15:54:10
+ * @LastEditors: Ben Lin
+ * @LastEditTime: 2024-07-23 16:33:54
  */
 import type { GlobEnvConfig } from '#/config';
 import pkg from '../../package.json';
@@ -38,12 +38,17 @@
     ? // Get the global configuration (the configuration will be extracted independently when packaging)
       (import.meta.env as unknown as GlobEnvConfig)
     : (window[ENV_NAME] as unknown as GlobEnvConfig);
-  const { VITE_GLOB_APP_TITLE, VITE_GLOB_API_URL_PREFIX, VITE_GLOB_UPLOAD_URL, 
+  const {
+    VITE_GLOB_APP_TITLE,
+    VITE_GLOB_API_URL_PREFIX,
+    VITE_GLOB_UPLOAD_URL,
     VITE_GLOB_SYS_API_URL,
     VITE_GLOB_MAP_KEY,
     VITE_GLOB_TSK_API_URL,
     VITE_GLOB_DOWNLOAD_URL,
-    VITE_USE_ORG, } = ENV;
+    VITE_GLOB_SYS_TYPE,
+    VITE_USE_ORG,
+  } = ENV;
   let { VITE_GLOB_API_URL } = ENV;
   if (localStorage.getItem(API_ADDRESS)) {
     const address = JSON.parse(localStorage.getItem(API_ADDRESS) || '{}');
@@ -59,6 +64,7 @@
     VITE_GLOB_TSK_API_URL,
     VITE_GLOB_DOWNLOAD_URL,
     VITE_USE_ORG,
+    VITE_GLOB_SYS_TYPE,
   };
 }
 

--
Gitblit v1.9.3