befly-admin 3.4.3 → 3.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env ADDED
@@ -0,0 +1,4 @@
1
+ # 所有环境共享的基础配置
2
+
3
+ # 应用标题
4
+ VITE_APP_TITLE=野蜂飞舞后台管理
package/.env.development CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  # 接口请求地址
4
4
  VITE_API_BASE_URL=http://localhost:3000/api
5
+
6
+ # 存储命名空间
5
7
  VITE_STORAGE_NAMESPACE=befly_admin_dev
package/.env.production CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  # 接口请求地址(部署时修改为实际的生产环境地址)
4
4
  VITE_API_BASE_URL=https://api.your-domain.com/api
5
+
6
+ # 存储命名空间
5
7
  VITE_STORAGE_NAMESPACE=befly_admin_prod
package/bunfig.toml ADDED
@@ -0,0 +1,11 @@
1
+ [install]
2
+ # 使用隔离模式
3
+ linker = "isolated"
4
+
5
+
6
+ # 提升类型定义和工具到根目录
7
+ publicHoistPattern = [
8
+ "@types/*", # 所有 TypeScript 类型
9
+ "typescript", # TypeScript 编译器
10
+ "@opentiny/*",
11
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "befly-admin",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Befly Admin - 基于 Vue3 + OpenTiny Vue 的后台管理系统",
5
5
  "type": "module",
6
6
  "private": false,
@@ -14,9 +14,11 @@
14
14
  "index.html",
15
15
  "vite.config.ts",
16
16
  "tsconfig.json",
17
+ ".env",
17
18
  ".env.development",
18
19
  ".env.production",
19
20
  ".gitignore",
21
+ "bunfig.toml",
20
22
  "README.md"
21
23
  ],
22
24
  "scripts": {
@@ -28,10 +30,10 @@
28
30
  },
29
31
  "dependencies": {
30
32
  "@opentiny/vue": "^3.27.0",
31
- "axios": "^1.13.1",
33
+ "axios": "^1.13.2",
32
34
  "befly-auto-routes": "^1.1.0",
33
35
  "lucide-vue-next": "^0.552.0",
34
- "pinia": "^3.0.3",
36
+ "pinia": "^3.0.4",
35
37
  "vue": "^3.5.22",
36
38
  "vue-router": "^4.6.3"
37
39
  },
@@ -43,12 +45,12 @@
43
45
  "typescript": "^5.9.3",
44
46
  "unplugin-auto-import": "^20.2.0",
45
47
  "unplugin-vue-components": "^30.0.0",
46
- "vite": "^7.1.12",
48
+ "vite": "^7.2.0",
47
49
  "vue-tsc": "^3.1.3"
48
50
  },
49
51
  "engines": {
50
52
  "node": ">=22.0.0",
51
53
  "pnpm": ">=9.0.0"
52
54
  },
53
- "gitHead": "7f5a3ed6e432a6093e297cd1679a51d593b442a9"
55
+ "gitHead": "70faf2a86ad8e9e71c5e80fde3f0b2e22c81a18a"
54
56
  }
@@ -3,7 +3,7 @@
3
3
  <!-- 顶部导航栏 -->
4
4
  <div class="layout-header">
5
5
  <div class="logo">
6
- <h2>野蜂飞舞后台管理</h2>
6
+ <h2>{{ import.meta.env.VITE_APP_TITLE }}</h2>
7
7
  </div>
8
8
  <div class="header-right">
9
9
  <tiny-dropdown title="管理员" trigger="click" border type="info" @item-click="$Method.handleUserMenu">