From 32d626d984bbb95ad16fa6a17670c28594d7dd3c Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 05 九月 2025 13:44:41 +0800 Subject: [PATCH] 打包配置 --- .env.staging | 4 ++-- .env.development | 4 ++-- public/CJNYico.ico | 0 src/assets/indexViews/CJNYView.png | 0 src/assets/logo/创巨能源有限公司.png | 0 src/layout/components/Sidebar/Logo.vue | 2 +- src/main.js | 2 +- index.html | 4 ++-- package.json | 2 +- .env.production | 4 ++-- vite.config.js | 4 ++-- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.env.development b/.env.development index 6df7fee..d7652db 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ # 椤甸潰鏍囬 -VITE_APP_TITLE = 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁� +VITE_APP_TITLE = 鍒涘法鑳芥簮绠$悊绯荤粺 # 寮�鍙戠幆澧冮厤缃� VITE_APP_ENV = 'development' -# 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁�/寮�鍙戠幆澧� +# 鍒涘法鑳芥簮绠$悊绯荤粺/寮�鍙戠幆澧� VITE_APP_BASE_API = '/dev-api' diff --git a/.env.production b/.env.production index 96b640e..58cfa7d 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ # 椤甸潰鏍囬 -VITE_APP_TITLE = 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁� +VITE_APP_TITLE = 鍒涘法鑳芥簮绠$悊绯荤粺 # 鐢熶骇鐜閰嶇疆 VITE_APP_ENV = 'production' -# 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁�/鐢熶骇鐜 +# 鍒涘法鑳芥簮绠$悊绯荤粺/鐢熶骇鐜 VITE_APP_BASE_API = '/prod-api' # 鏄惁鍦ㄦ墦鍖呮椂寮�鍚帇缂╋紝鏀寔 gzip 鍜� brotli diff --git a/.env.staging b/.env.staging index 7872735..fb2b678 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 椤甸潰鏍囬 -VITE_APP_TITLE = 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁� +VITE_APP_TITLE = 鍒涘法鑳芥簮绠$悊绯荤粺 # 鐢熶骇鐜閰嶇疆 VITE_APP_ENV = 'staging' -# 娴嬭瘯杩涢攢瀛樼鐞嗙郴缁�/鐢熶骇鐜 +# 鍒涘法鑳芥簮绠$悊绯荤粺/鐢熶骇鐜 VITE_APP_BASE_API = '/stage-api' # 鏄惁鍦ㄦ墦鍖呮椂寮�鍚帇缂╋紝鏀寔 gzip 鍜� brotli diff --git a/index.html b/index.html index d14eb4b..1ce2e84 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> - <link rel="icon" href="/ZQHXico.ico" /> - <title>娴嬭瘯杩涢攢瀛樼鐞嗙郴缁�</title> + <link rel="icon" href="/CJNYico.ico" /> + <title>鍒涘法鑳芥簮绠$悊绯荤粺</title> <!--[if lt IE 11 ]><script> window.location.href = "/html/ie.html"; diff --git a/package.json b/package.json index 7ec9b1d..87b40c8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.9", - "description": "娴嬭瘯杩涢攢瀛樼鐞嗙郴缁�", + "description": "鍒涘法鑳芥簮绠$悊绯荤粺", "author": "鑻ヤ緷", "license": "MIT", "type": "module", diff --git a/public/CJNYico.ico b/public/CJNYico.ico new file mode 100644 index 0000000..5ad6d83 --- /dev/null +++ b/public/CJNYico.ico Binary files differ diff --git a/src/assets/indexViews/CJNYView.png b/src/assets/indexViews/CJNYView.png new file mode 100644 index 0000000..e4e9d73 --- /dev/null +++ b/src/assets/indexViews/CJNYView.png Binary files differ diff --git "a/src/assets/logo/\345\210\233\345\267\250\350\203\275\346\272\220\346\234\211\351\231\220\345\205\254\345\217\270.png" "b/src/assets/logo/\345\210\233\345\267\250\350\203\275\346\272\220\346\234\211\351\231\220\345\205\254\345\217\270.png" new file mode 100644 index 0000000..e4e9d73 --- /dev/null +++ "b/src/assets/logo/\345\210\233\345\267\250\350\203\275\346\272\220\346\234\211\351\231\220\345\205\254\345\217\270.png" Binary files differ diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index bdb0daa..5d4406b 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -16,7 +16,7 @@ <script setup> import { ref, computed, onMounted, watch } from 'vue' import useUserStore from '@/store/modules/user' -import defaultLogo from '@/assets/indexViews/ZQHXLogo.png' // 瀵煎叆榛樿logo +import defaultLogo from '@/assets/indexViews/CJNYView.png' // 瀵煎叆榛樿logo defineProps({ collapse: { diff --git a/src/main.js b/src/main.js index 00205af..381f75c 100644 --- a/src/main.js +++ b/src/main.js @@ -76,7 +76,7 @@ app.config.globalProperties.addDateRange = addDateRange; app.config.globalProperties.selectDictLabel = selectDictLabel; app.config.globalProperties.selectDictLabels = selectDictLabels; -app.config.globalProperties.javaApi = "http://114.132.189.42:8099"; +app.config.globalProperties.javaApi = "http://114.132.189.42:9039"; app.config.globalProperties.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)); }; diff --git a/vite.config.js b/vite.config.js index 26e8edc..5623b69 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,7 +8,7 @@ const { VITE_APP_ENV } = env; const baseUrl = VITE_APP_ENV == "development" - ? "http://114.132.189.42:8089" // 寮�鍙戠幆澧冨悗绔帴鍙� + ? "http://114.132.189.42:9036" // 寮�鍙戠幆澧冨悗绔帴鍙� : "http://114.132.189.42:8089"; // 鐢熶骇鐜鍚庣鎺ュ彛 return { @@ -45,7 +45,7 @@ }, // vite 鐩稿叧閰嶇疆 server: { - port: 80, + port: 8001, host: true, open: true, proxy: { -- Gitblit v1.9.3