From ca4aaaad78dabb5c72a09deb5e26da193d2946a3 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 05 九月 2025 14:11:22 +0800 Subject: [PATCH] 打包配置 --- .env.staging | 4 ++-- .env.development | 4 ++-- src/assets/indexViews/JSMYView.png | 0 src/views/login.vue | 2 +- src/layout/components/Sidebar/Logo.vue | 2 +- public/JSMYico.ico | 0 src/assets/logo/金石煤业.png | 0 index.html | 4 ++-- package.json | 2 +- .env.production | 4 ++-- src/assets/indexViews/JSMYLogo.png | 0 vite.config.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.env.development b/.env.development index 6df7fee..7de4661 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..089d80b 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..19a4c19 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..f5dc0d1 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="/JSMYico.ico" /> + <title>閲戠煶鐓や笟绠$悊绯荤粺</title> <!--[if lt IE 11 ]><script> window.location.href = "/html/ie.html"; diff --git a/package.json b/package.json index 7ec9b1d..2d520c7 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/JSMYico.ico b/public/JSMYico.ico new file mode 100644 index 0000000..81352d8 --- /dev/null +++ b/public/JSMYico.ico Binary files differ diff --git a/src/assets/indexViews/JSMYLogo.png b/src/assets/indexViews/JSMYLogo.png new file mode 100644 index 0000000..512ad75 --- /dev/null +++ b/src/assets/indexViews/JSMYLogo.png Binary files differ diff --git a/src/assets/indexViews/JSMYView.png b/src/assets/indexViews/JSMYView.png new file mode 100644 index 0000000..ada4b2b --- /dev/null +++ b/src/assets/indexViews/JSMYView.png Binary files differ diff --git "a/src/assets/logo/\351\207\221\347\237\263\347\205\244\344\270\232.png" "b/src/assets/logo/\351\207\221\347\237\263\347\205\244\344\270\232.png" new file mode 100644 index 0000000..438e0c0 --- /dev/null +++ "b/src/assets/logo/\351\207\221\347\237\263\347\205\244\344\270\232.png" Binary files differ diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index bdb0daa..6ad3bc6 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/JSMYLogo.png' // 瀵煎叆榛樿logo defineProps({ collapse: { diff --git a/src/views/login.vue b/src/views/login.vue index 960f097..9634cf8 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -181,7 +181,7 @@ <style lang='scss' scoped> .login { height: 100%; - background-image: url("../assets/indexViews/JZYJView.png"); + background-image: url("../assets/indexViews/JSMYView.png"); background-size: cover; position: relative; } diff --git a/vite.config.js b/vite.config.js index 26e8edc..078f14d 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 { -- Gitblit v1.9.3