cmpt-huitu-cli 1.0.15 → 1.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmpt-huitu-cli",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "type": "module",
5
5
  "description": "慧图前端项目工程化 CLI 工具",
6
6
  "main": "index.js",
package/src/versions.js CHANGED
@@ -15,8 +15,8 @@
15
15
  * - 例如:^1.0.8 允许 1.0.8, 1.1.0 但不允许 2.0.0
16
16
  */
17
17
  export const DEPENDENCY_VERSIONS = {
18
- 'cmpt-huitu-ui': '^1.0.17',
19
- 'cmpt-huitu-utils': '^2.0.1',
18
+ 'cmpt-huitu-ui': '^1.0.18',
19
+ 'cmpt-huitu-utils': '^2.0.2',
20
20
  }
21
21
 
22
22
  /**
@@ -113,7 +113,7 @@
113
113
  │ │ ├── errorCode.js # 错误码定义
114
114
  │ │ ├── index.js # 工具函数入口
115
115
  │ │ ├── requestAxios.js # Axios 封装
116
- │ │ ├── RequestCache.js # 请求缓存
116
+ │ │ ├── requestCache.js # 请求缓存
117
117
  │ │ └── theme.js # 主题切换工具
118
118
  │ │
119
119
  │ ├── views/ # 页面视图目录
@@ -117,7 +117,7 @@ trigger: always_on
117
117
  │ │ ├── errorCode.js # 错误码定义
118
118
  │ │ ├── index.js # 工具函数入口
119
119
  │ │ ├── requestAxios.js # Axios 封装
120
- │ │ ├── RequestCache.js # 请求缓存
120
+ │ │ ├── requestCache.js # 请求缓存
121
121
  │ │ └── theme.js # 主题切换工具
122
122
  │ │
123
123
  │ ├── views/ # 页面视图目录
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div id="app">
2
+ <div id="app-container">
3
3
  <router-view v-slot="{ Component, route }">
4
4
  <keep-alive>
5
5
  <component
@@ -20,7 +20,7 @@
20
20
  <script setup></script>
21
21
 
22
22
  <style lang="scss">
23
- #app {
23
+ #app-container {
24
24
  touch-action: none;
25
25
  }
26
26
  </style>
@@ -31,6 +31,7 @@ body {
31
31
  background-color: var(--bg-color);
32
32
  min-height: 100vh;
33
33
  transition: background-color 0.3s ease;
34
+ overflow: auto;
34
35
  }
35
36
 
36
37
  // 项目自定义样式
@@ -77,6 +77,7 @@
77
77
  caption="测试拖拽弹窗"
78
78
  :w="500"
79
79
  :h="400"
80
+ :z="1000"
80
81
  :min-width="300"
81
82
  :min-height="200"
82
83
  >
@@ -142,6 +142,7 @@ export default defineConfig(({ mode, command }) => {
142
142
  // }
143
143
  // }
144
144
  // : {},
145
+ chunkSizeWarningLimit: 800, // chunk 大小警告的限制(以 kbs 为单位)
145
146
  rollupOptions: {
146
147
  // 多页面应用配置,通过自动配置
147
148
  input: {
@@ -158,7 +159,6 @@ export default defineConfig(({ mode, command }) => {
158
159
  'x-eleuilib': ['element-plus'],
159
160
  'x-vxetable': ['vxe-table', 'xe-utils'],
160
161
  },
161
- chunkSizeWarningLimit: 800, // 调整 chunk 大小警告限制到 800kb
162
162
  experimentalMinChunkSize: 2048, // 该选项用于为代码分割设置一个以字节为单位的最小 chunk 大小
163
163
  // inlineDynamicImports: true // 该选项用于内联动态引入,该选项只在单页面应用的时候起作用
164
164