4 天以前 fb6e4a0041575dfacc4da9f8fc66d9a3d1f8a6b8
分支
用户 <2163098428@qq.com>
星期二, 五月 19, 2026 15:50 +0800
提交者 <2163098428@qq.com>
星期二, 五月 19, 2026 15:50 +0800
提交fb6e4a0041575dfacc4da9f8fc66d9a3d1f8a6b8
目录 c5c73d2ce5a7483638b81b4830fd6aef7bbf0af9 目录 | zip | gz
上一版本 ff609c6ba2f52818dad141407c3265abc883eb4f 查看 | 对比
feat(multiple): 为构建过程添加环境变量管理功能

- 创建 createBuildEnv 函数来处理构建环境变量
- 在执行 vite build 时传入自定义环境变量
- 构建时设置当前工作目录为根路径
- 移除现有的 VITE_ 开头的环境变量避免冲突
- 添加 VITE_APP_ENV 环境变量并设置为 production
- 保持原有的构建流程不变但增强环境控制
已修改18个文件
5008 ■■■■■ 文件已修改
src/assets/styles/element-ui.scss 60 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/assets/styles/index.scss 87 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/assets/styles/sidebar.scss 419 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/assets/styles/variables.module.scss 162 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/components/AIChatSidebar/index.vue 36 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/components/Breadcrumb/index.vue 5 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/AppMain.vue 47 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue 671 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/NotificationCenter/index.vue 19 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/Logo.vue 85 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/SidebarItem.vue 91 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/index.vue 303 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/TagsView/ScrollPane.vue 10 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/components/TagsView/index.vue 34 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/layout/index.vue 77 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/settings.js 4 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/utils/theme.js 45 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/views/index.vue 2853 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史